/* Crab Boil: editorial 6-image hero + existing video, October 2026. */
.cb-hero-carousel {
  position: relative;
  display: block;
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 620px;
  isolation: isolate;
  overflow: hidden;
  background: #101111;
}
.cb-hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 0;
  transition: opacity .8s ease, visibility .8s ease;
}
.cb-hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}
.cb-hero-art,
.cb-hero-slide--video > video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  object-fit: cover;
  object-position: center;
}
.cb-hero-art { transform: scale(1.025); transition: transform 7s ease-out; }
.cb-hero-slide.is-active .cb-hero-art { transform: scale(1); }
.cb-hero-tint { position: absolute; inset: 0; pointer-events: none; }
.cb-hero-slide--01 .cb-hero-tint { background: linear-gradient(90deg, transparent 24%, rgba(0,0,0,.22) 48%, transparent 76%); }
.cb-hero-slide--02 .cb-hero-tint { background: linear-gradient(90deg, transparent 45%, rgba(255,255,255,.15) 100%); }
.cb-hero-slide--03 .cb-hero-tint { background: linear-gradient(90deg, rgba(0,0,0,.22), transparent 53%); }
.cb-hero-slide--04 .cb-hero-tint { background: rgba(255,255,255,.08); }
.cb-hero-slide--05 .cb-hero-tint { background: linear-gradient(90deg, transparent 45%, rgba(0,0,0,.21)); }
.cb-hero-slide--06 .cb-hero-tint { background: linear-gradient(90deg, rgba(0,0,0,.17), transparent 48%); }
.cb-hero-copy {
  position: absolute;
  z-index: 2;
  max-width: 92vw;
  font-family: 'Bebas Neue', 'Arial Narrow', Impact, sans-serif;
  text-transform: uppercase;
  font-weight: 400;
  line-height: .83;
  letter-spacing: -.012em;
  white-space: nowrap;
  text-shadow: 0 3px 15px rgba(0,0,0,.14);
}
.cb-hero-copy .cb-hero-heading { margin: 0; padding: 0; font: inherit; line-height: inherit; letter-spacing: inherit; }
.cb-hero-line { display: block; }
.cb-hero-white { color: #fff; }
.cb-hero-black { color: #0d0d0d; text-shadow: none; }
.cb-hero-gradient {
  color: #fe681b;
  background-image: linear-gradient(180deg, #fe681b 8%, #ff2828 96%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}
.cb-hero-outline {
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1.8px rgba(255,255,255,.88);
  text-shadow: none;
}
.cb-hero-slide--01 .cb-hero-copy { left: 50%; top: 49%; transform: translate(-50%,-50%); text-align: center; font-size: clamp(64px,4.6vw,90px); }
.cb-hero-slide--02 .cb-hero-copy { left: 59%; top: 29%; font-size: clamp(104px,13.1vw,252px); line-height: .92; }
.cb-hero-slide--03 .cb-hero-copy { left: 5.2%; top: 25%; font-size: clamp(90px,10vw,192px); line-height: .9; }
.cb-hero-slide--04 .cb-hero-copy { left: 50%; top: 38%; transform: translateX(-50%); text-align: center; font-size: clamp(80px,8.3vw,158px); }
.cb-hero-slide--05 .cb-hero-copy { left: 68%; top: 24%; font-size: clamp(98px,9.3vw,179px); line-height: .96; }
.cb-hero-slide--06 .cb-hero-copy { left: 4.6%; top: 35%; font-size: clamp(98px,10vw,192px); }
.cb-hero-slide--video > .relative.z-10 { width: 100%; }
.cb-hero-slide--video > .absolute.bottom-8 { bottom: 96px; }
.cb-hero-nav {
  position: absolute;
  inset: auto 0 24px;
  z-index: 8;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  pointer-events: none;
}
.cb-hero-nav button { pointer-events: auto; }
.cb-hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 8;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  color: #fff;
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  font: 34px/1 Arial, sans-serif;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.cb-hero-arrow:hover { background: rgba(255,83,35,.82); transform: translateY(-50%) scale(1.07); }
.cb-hero-arrow--prev { left: clamp(12px,2vw,32px); }
.cb-hero-arrow--next { right: clamp(12px,2vw,32px); }
.cb-hero-pagination { display: flex; gap: 9px; align-items: center; padding: 9px 13px; background: rgba(0,0,0,.24); border: 1px solid rgba(255,255,255,.15); border-radius: 30px; backdrop-filter: blur(8px); }
.cb-hero-dot { width: 10px; height: 10px; flex: 0 0 10px; padding: 0; border-radius: 50%; border: 1px solid rgba(255,255,255,.9); background: transparent; cursor: pointer; transition: width .25s, background .25s; }
.cb-hero-dot[aria-current="true"] { width: 27px; flex-basis: 27px; border-color: #ff6029; background: linear-gradient(90deg,#fe681b,#ff2828); border-radius: 20px; }
.cb-hero-toggle { min-width: 52px; padding: 8px 10px; border-radius: 20px; background: rgba(0,0,0,.34); color: #fff; border: 1px solid rgba(255,255,255,.25); font: 600 11px/1.2 Arial,sans-serif; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; }
.cb-hero-toggle:hover { background: rgba(0,0,0,.64); }
.cb-hero-carousel button:focus-visible { outline: 3px solid #ff8a32; outline-offset: 4px; }
.cb-hero-announcement { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
@media (max-width: 1024px) {
  .cb-hero-slide--02 .cb-hero-copy { left: 57%; font-size: clamp(80px,12vw,165px); }
  .cb-hero-slide--03 .cb-hero-copy { font-size: clamp(85px,10.5vw,140px); }
  .cb-hero-slide--04 .cb-hero-copy { font-size: clamp(70px,8.2vw,118px); }
  .cb-hero-slide--05 .cb-hero-copy { left: 66%; font-size: clamp(86px,9.2vw,134px); }
}
@media (max-width: 767px) {
  .cb-hero-carousel { height: 100svh; min-height: 560px; max-height: 940px; }
  .cb-hero-art { transform: scale(1.015); }
  .cb-hero-slide--01 .cb-hero-art { object-position: 50% 50%; }
  .cb-hero-slide--02 .cb-hero-art { object-position: 34% 50%; }
  .cb-hero-slide--03 .cb-hero-art { object-position: 68% 50%; }
  .cb-hero-slide--04 .cb-hero-art { object-position: 50% 50%; }
  .cb-hero-slide--05 .cb-hero-art { object-position: 57% 50%; }
  .cb-hero-slide--06 .cb-hero-art { object-position: 74% 50%; }
  .cb-hero-slide:not(.cb-hero-slide--video):not(.cb-hero-slide--04) .cb-hero-tint { background: linear-gradient(180deg, rgba(0,0,0,.1) 20%, transparent 36%, rgba(0,0,0,.32) 61%, rgba(0,0,0,.75) 100%); }
  .cb-hero-slide--04 .cb-hero-tint { background: linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.65)); }
  .cb-hero-copy { left: 50% !important; right: auto; top: auto !important; bottom: 16.5%; width: min(94%, 500px); max-width: 94%; transform: translateX(-50%) !important; text-align: center; font-size: clamp(58px,17vw,98px) !important; line-height: .86; white-space: normal; }
  .cb-hero-copy .cb-hero-line { white-space: nowrap; }
  .cb-hero-slide--01 .cb-hero-copy { bottom: 24%; font-size: clamp(54px,15vw,88px) !important; }
  .cb-hero-slide--02 .cb-hero-copy { font-size: clamp(64px,19vw,98px) !important; }
  .cb-hero-slide--03 .cb-hero-copy { font-size: clamp(64px,18vw,92px) !important; }
  .cb-hero-slide--04 .cb-hero-copy { bottom: 28%; font-size: clamp(61px,15.5vw,91px) !important; }
  .cb-hero-slide--05 .cb-hero-copy { font-size: clamp(72px,22vw,116px) !important; }
  .cb-hero-slide--06 .cb-hero-copy { bottom: 21%; font-size: clamp(78px,22vw,120px) !important; }
  .cb-hero-slide--02 .cb-hero-black { color: #fff; text-shadow: 0 2px 16px rgba(0,0,0,.46); }
  .cb-hero-slide--video .relative.z-10 { padding: 80px 20px 68px; }
  .cb-hero-slide--video .relative.z-10 h2 { font-size: clamp(3.4rem,15vw,5rem); }
  .cb-hero-slide--video .relative.z-10 p { max-width: 92%; }
  .cb-hero-slide--video .absolute.bottom-8 { bottom: 78px; }
  .cb-hero-arrow { width: 36px; height: 36px; top: 53%; font-size: 27px; background: rgba(0,0,0,.38); }
  .cb-hero-arrow--prev { left: 7px; }
  .cb-hero-arrow--next { right: 7px; }
  .cb-hero-nav { bottom: max(17px,env(safe-area-inset-bottom)); gap: 9px; }
  .cb-hero-pagination { gap: 7px; padding: 8px 10px; }
  .cb-hero-dot { width: 8px; height: 8px; flex-basis: 8px; }
  .cb-hero-dot[aria-current="true"] { width: 21px; flex-basis: 21px; }
  .cb-hero-toggle { padding: 7px 8px; min-width: 45px; }
}
@media (max-width: 370px) {
  .cb-hero-copy { font-size: 16vw !important; }
  .cb-hero-slide--04 .cb-hero-copy { font-size: 14.5vw !important; }
  .cb-hero-slide--05 .cb-hero-copy { font-size: 20vw !important; }
}
@media (prefers-reduced-motion: reduce) {
  .cb-hero-slide,.cb-hero-art,.cb-hero-dot { transition: none !important; }
}

/* Franchise locations: image-synchronized vector map markers; header legibility. */
.cb-hero-slide--04::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: clamp(155px, 23vh, 225px);
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(8,10,12,.68) 0%, rgba(8,10,12,.47) 34%, rgba(8,10,12,.18) 72%, rgba(8,10,12,0) 100%);
}
.cb-franchise-map-pins {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}
.cb-franchise-map-pin path { fill: #191a1b; stroke: #0a0a0a; stroke-width: 1; }
.cb-franchise-map-pin text {
  font-family: 'Bebas Neue', Impact, 'Arial Narrow', sans-serif;
  font-size: 25px;
  font-weight: 500;
  letter-spacing: .1px;
  fill: #131313;
  paint-order: stroke fill;
  stroke: rgba(255,255,255,.9);
  stroke-width: 3px;
  stroke-linejoin: round;
}
.cb-franchise-mobile-locations { display: none; }
@media (max-width: 767px) {
  .cb-hero-slide--04::before {
    height: 210px;
    background: linear-gradient(180deg,rgba(8,10,12,.74) 0%,rgba(8,10,12,.46) 45%,rgba(8,10,12,0) 100%);
  }
  .cb-hero-slide--04 .cb-hero-tint {
    background: linear-gradient(180deg,transparent 15%,rgba(255,255,255,.13) 48%,rgba(255,255,255,.65) 100%);
  }
  .cb-franchise-map-pins { display: none; }
  .cb-franchise-mobile-locations {
    position: absolute;
    z-index: 2;
    left: 50%;
    top: clamp(165px,23%,240px);
    transform: translateX(-50%);
    width: min(88%,380px);
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 9px;
    pointer-events: none;
  }
  .cb-franchise-mobile-locations span {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    padding: 9px 6px;
    border: 1px solid rgba(28,28,28,.17);
    border-radius: 9px;
    background: rgba(255,255,255,.84);
    color: #161616;
    font: 400 clamp(16px,5vw,22px)/1.1 'Bebas Neue',Impact,sans-serif;
    white-space: nowrap;
    box-shadow: 0 5px 18px rgba(0,0,0,.09);
  }
  .cb-franchise-mobile-locations i {
    display: inline-block;
    flex: 0 0 14px;
    width: 14px;
    height: 14px;
    border: 4px solid #161616;
    border-radius: 100% 100% 100% 0;
    transform: rotate(-45deg);
    background: #f44326;
  }
}
/* Responsive original Illustrator artboard: preserve full width, correct mobile portrait source. */
.cb-hero-slide--04 .cb-hero-picture { position:absolute; inset:0; width:100%; height:100%; display:block; overflow:hidden; z-index:0; }
.cb-hero-slide--04 .cb-hero-picture .cb-hero-art { position:absolute; inset:0; width:100%;height:100%;object-fit:cover;object-position:center; }
.cb-franchise-mobile-pins { display:none; }
@media (max-width:767px) {
 .cb-hero-slide--04 .cb-hero-picture .cb-hero-art { object-position:center center; }
 .cb-franchise-mobile-pins { display:block; position:absolute; inset:0; z-index:2; width:100%;height:100%;pointer-events:none; }
 .cb-franchise-mobile-pins .cb-franchise-map-pin text { font-size:43px;fill:#141414;stroke:rgba(255,255,255,.93);stroke-width:7px; }
 .cb-hero-slide--04 .cb-hero-copy { top:47% !important; bottom:auto !important; transform:translate(-50%,-50%) !important; width:min(94%,500px); }
}
/* October 29, 2026 mobile hero alignment corrections. */
.cb-hero-carousel .cb-hero-arrow { display: none !important; }
@media (max-width: 767px) {
  /* Anchor the entire headline, not its bottom edge, to the visual center. */
  .cb-hero-carousel .cb-hero-slide:not(.cb-hero-slide--video) .cb-hero-copy,
  .cb-hero-carousel .cb-hero-slide--04 .cb-hero-copy {
    position: absolute !important;
    top: 50% !important;
    bottom: auto !important;
    left: 50% !important;
    right: auto !important;
    transform: translate(-50%, -50%) !important;
    width: min(92vw, 500px);
    max-width: 92vw;
    margin: 0;
    text-align: center !important;
  }
  .cb-hero-carousel .cb-hero-slide:not(.cb-hero-slide--video) .cb-hero-heading {
    margin: 0 auto !important;
    text-align: center !important;
  }
  /* Ensure the final video slide's scroll action sits on the horizontal midpoint. */
  .cb-hero-carousel .cb-hero-slide--video > .absolute.bottom-8 {
    position: absolute !important;
    left: 50% !important;
    right: auto !important;
    top: auto !important;
    bottom: 64px !important;
    transform: translateX(-50%) !important;
    margin: 0 !important;
    width: max-content;
    max-width: calc(100vw - 32px);
    display: flex !important;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 3;
  }
  .cb-hero-carousel .cb-hero-slide--video [data-scroll-next="true"] {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    margin: 0 auto !important;
  }
  .cb-hero-carousel .cb-hero-slide--video > .relative.z-10 {
    box-sizing: border-box;
    width: 100% !important;
    padding: 72px 20px 105px !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .cb-hero-carousel .cb-hero-slide--video > .relative.z-10 > .max-w-4xl {
    width: 100%;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
  }
}