/* =========================================================
   ACCORDION SERVICE IMAGE CARDS
   ========================================================= */

/* =========================================================
   WOLF HORIZONTAL NUMBERED ACCORDION
   ========================================================= */

/*
 * TYPOGRAPHY
 *
 * The sector accordion uses Inter throughout, including:
 * - Vertical tab titles
 * - Eyebrows
 * - Main panel headings
 * - Descriptions
 * - Links
 */

body .wolf-sector-accordion-section {
  background: #080d0b !important;
  color: #f2eee5 !important;
  padding: clamp(72px, 9vw, 140px) clamp(22px, 5vw, 80px) !important;
  overflow: hidden !important;
  font-family: Inter, Arial, sans-serif !important;
}

/* =========================================================
   BLOCK TEXT ON THE RIGHT
   ========================================================= */

body .wolf-max-width-right,
body .wolf-max-width-right .wpb_wrapper {
  max-width: 500px !important;
  margin-left: auto !important;
  margin-right: 0 !important;
  text-align: left !important;
}

body .wolf-max-width-right p,
body .wolf-max-width-right .wpb_wrapper p {
  margin: 0 !important;
  color: rgba(242, 238, 229, 0.68) !important;
  font-family: Inter, Arial, sans-serif !important;
  font-size: 19.2px !important;
  line-height: 1.65 !important;
  font-weight: 400 !important;
}

/* =========================================================
   CARD HEADING
   ========================================================= */

body .wolf-sector-accordion .wolf-card-title {
  max-width: 680px !important;
  margin: 0 0 24px !important;
  color: #f2eee5 !important;
  font-family: Inter, Arial, sans-serif !important;
  font-size: clamp(44px, 5vw, 102.4px) !important;
  line-height: 0.88 !important;
  letter-spacing: -0.06em !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
}

/* =========================================================
   CARD CONTENT
   ========================================================= */

body .wolf-sector-accordion .wolf-card-content {
  display: block !important;
  max-width: 620px !important;
  margin: 0 0 28px !important;
  color: rgba(255, 255, 255, 0.78) !important;
  font-family: Inter, Arial, sans-serif !important;
  font-size: 18.4px !important;
  line-height: 1.6 !important;
  font-weight: 400 !important;
}

/* Remove WPBakery paragraph styling inside card content. */

body .wolf-sector-accordion .wolf-card-content p {
  margin: 0 !important;
  color: inherit !important;
  font-family: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
  font-weight: inherit !important;
}

/* =========================================================
   ACCORDION WRAPPER
   ========================================================= */

body .wolf-sector-accordion {
  display: flex !important;
  width: min(100%, 1500px) !important;
  height: clamp(540px, 67vw, 760px) !important;
  margin: 0 auto !important;
  overflow: hidden !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  background: #050807 !important;
  color: #f2eee5 !important;
  font-family: Inter, Arial, sans-serif !important;
}

/* =========================================================
   PANEL
   ========================================================= */

body .wolf-sector-panel {
  position: relative !important;
  display: flex !important;
  flex: 0 0 92px !important;
  min-width: 0 !important;
  overflow: hidden !important;
  background: #062e23 !important;
  border-right: 1px solid rgba(255, 255, 255, 0.14) !important;
  transition:
    flex-basis 700ms cubic-bezier(0.22, 1, 0.36, 1),
    flex-grow 700ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 300ms ease !important;
}

body .wolf-sector-panel:last-child {
  border-right: 0 !important;
}

body .wolf-sector-panel.is-active {
  flex: 1 1 auto !important;
}

/* =========================================================
   VERTICAL TAB
   ========================================================= */

body .wolf-sector-tab {
  position: relative !important;
  z-index: 4 !important;
  flex: 0 0 92px !important;
  width: 92px !important;
  min-width: 92px !important;
  margin: 0 !important;
  padding: 22px 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #062e23 !important;
  color: #f2eee5 !important;
  font-family: Inter, Arial, sans-serif !important;
  cursor: pointer !important;
  transition:
    background-color 250ms ease,
    color 250ms ease !important;
}

body .wolf-sector-tab:hover {
  background: #0a3a2d !important;
  color: #f2eee5 !important;
}

body .wolf-sector-tab:focus-visible {
  background: #0a3a2d !important;
  color: #f2eee5 !important;
  outline: 2px solid #f15424 !important;
  outline-offset: -4px !important;
}

/* =========================================================
   PANEL NUMBER
   ========================================================= */

body .wolf-sector-number {
  position: absolute !important;
  top: 24px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  color: #f15424 !important;
  font-family: Inter, Arial, sans-serif !important;
  font-size: 11px !important;
  line-height: 1 !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em !important;
}

/* =========================================================
   VERTICAL PANEL TITLE
   ========================================================= */

body .wolf-sector-title-vertical {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  white-space: nowrap !important;
  transform: translate(-50%, -50%) rotate(-90deg) !important;
  color: #f2eee5 !important;
  font-family: Inter, Arial, sans-serif !important;
  font-size: clamp(20px, 1.8vw, 30px) !important;
  line-height: 1 !important;
  font-weight: 700 !important;
  letter-spacing: -0.03em !important;
  text-transform: uppercase !important;
}

/* =========================================================
   PLUS / MINUS
   ========================================================= */

/*
 * The original character in the HTML is hidden by font-size: 0.
 * CSS then supplies a plus for closed panels and a minus for
 * the active panel.
 */

body .wolf-sector-plus {
  position: absolute !important;
  left: 50% !important;
  bottom: 24px !important;
  width: 30px !important;
  height: 30px !important;
  transform: translateX(-50%) !important;
  color: #f2eee5 !important;
  font-family: Inter, Arial, sans-serif !important;
  font-size: 0 !important;
  line-height: 1 !important;
  font-weight: 300 !important;
  text-align: center !important;
}

body .wolf-sector-plus::before {
  content: "+" !important;
  display: block !important;
  width: 100% !important;
  color: currentColor !important;
  font-family: Inter, Arial, sans-serif !important;
  font-size: 30px !important;
  line-height: 30px !important;
  font-weight: 300 !important;
  text-align: center !important;
}

body .wolf-sector-panel.is-active .wolf-sector-plus {
  color: #f15424 !important;
}

body .wolf-sector-panel.is-active .wolf-sector-plus::before {
  content: "−" !important;
}

/* =========================================================
   EXPANDING CONTENT
   ========================================================= */

body .wolf-sector-content {
  position: relative !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  visibility: hidden !important;
  background-color: #050807 !important;
  background-image: var(--sector-image) !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  transform: scale(1.04) !important;
  transition:
    opacity 400ms ease,
    visibility 0s linear 400ms,
    transform 900ms cubic-bezier(0.22, 1, 0.36, 1) !important;
}

body .wolf-sector-panel.is-active .wolf-sector-content {
  opacity: 1 !important;
  visibility: visible !important;
  transform: scale(1) !important;
  transition-delay: 120ms, 0s, 0s !important;
}

/* Prevent inactive content from intercepting clicks. */

body .wolf-sector-panel:not(.is-active) .wolf-sector-content {
  pointer-events: none !important;
}

body .wolf-sector-panel.is-active .wolf-sector-content {
  pointer-events: auto !important;
}

/* =========================================================
   IMAGE SHADE
   ========================================================= */

body .wolf-sector-shade {
  position: absolute !important;
  z-index: 1 !important;
  inset: 0 !important;
  background:
    linear-gradient(
      90deg,
      rgba(2, 10, 7, 0.95) 0%,
      rgba(2, 10, 7, 0.72) 34%,
      rgba(2, 10, 7, 0.14) 72%,
      rgba(2, 10, 7, 0.3) 100%
    ),
    linear-gradient(
      0deg,
      rgba(2, 8, 6, 0.72) 0%,
      transparent 50%
    ) !important;
  pointer-events: none !important;
}

/* =========================================================
   PANEL COPY
   ========================================================= */

body .wolf-sector-copy {
  position: absolute !important;
  z-index: 2 !important;
  left: clamp(28px, 5vw, 82px) !important;
  bottom: clamp(34px, 7vw, 92px) !important;
  width: min(570px, calc(100% - 70px)) !important;
  opacity: 0 !important;
  transform: translateY(25px) !important;
  transition:
    opacity 350ms ease,
    transform 500ms cubic-bezier(0.22, 1, 0.36, 1) !important;
}

body .wolf-sector-panel.is-active .wolf-sector-copy {
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition-delay: 320ms !important;
}

/* =========================================================
   EYEBROW
   ========================================================= */

body .wolf-sector-eyebrow {
  display: block !important;
  margin: 0 0 15px !important;
  color: #f15424 !important;
  font-family: Inter, Arial, sans-serif !important;
  font-size: 11px !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
}

/* =========================================================
   PANEL HEADING
   ========================================================= */

body .wolf-sector-copy h3 {
  max-width: 680px !important;
  margin: 0 0 24px !important;
  color: #f2eee5 !important;
  font-family: Inter, Arial, sans-serif !important;
  font-size: clamp(44px, 5vw, 100px) !important;
  line-height: 0.88 !important;
  font-weight: 700 !important;
  letter-spacing: -0.06em !important;
  text-transform: uppercase !important;
}

/* =========================================================
   PANEL DESCRIPTION
   ========================================================= */

body .wolf-sector-copy p {
  max-width: 520px !important;
  margin: 0 0 30px !important;
  color: rgba(255, 255, 255, 0.78) !important;
  font-family: Inter, Arial, sans-serif !important;
  font-size: clamp(15px, 1.2vw, 18px) !important;
  line-height: 1.6 !important;
  font-weight: 400 !important;
}

/* =========================================================
   PANEL LINK
   ========================================================= */

body .wolf-sector-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 22px !important;
  padding: 0 0 8px !important;
  border: 0 !important;
  border-bottom: 2px solid #f15424 !important;
  background: transparent !important;
  color: #ffffff !important;
  font-family: Inter, Arial, sans-serif !important;
  font-size: 11px !important;
  line-height: 1 !important;
  font-weight: 700 !important;
  letter-spacing: 0.13em !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
}

body .wolf-sector-link:hover,
body .wolf-sector-link:focus {
  color: #ffffff !important;
  text-decoration: none !important;
}

body .wolf-sector-link:focus-visible {
  outline: 2px solid #f15424 !important;
  outline-offset: 5px !important;
}

body .wolf-sector-link span {
  display: inline-block !important;
  color: #f15424 !important;
  font-family: Inter, Arial, sans-serif !important;
  font-size: 18px !important;
  line-height: 1 !important;
  transition: transform 200ms ease !important;
}

body .wolf-sector-link:hover span,
body .wolf-sector-link:focus-visible span {
  transform: translateX(5px) !important;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 980px) {

  body .wolf-sector-accordion {
    height: 610px !important;
  }

  body .wolf-sector-panel {
    flex-basis: 74px !important;
  }

  body .wolf-sector-tab {
    flex-basis: 74px !important;
    width: 74px !important;
    min-width: 74px !important;
  }

  body .wolf-sector-title-vertical {
    font-size: 18px !important;
  }

  body .wolf-sector-copy {
    left: clamp(28px, 4vw, 58px) !important;
    width: min(540px, calc(100% - 56px)) !important;
  }
}

/* =========================================================
   MOBILE FIX — WOLF SECTOR ACCORDION
   Keeps desktop structure untouched.
   ========================================================= */

@media (max-width: 700px) {

  body .wolf-sector-accordion-section {
    padding: 70px 16px !important;
    overflow: hidden !important;
  }

  body .wolf-sector-accordion {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    overflow: visible !important;
    border: 0 !important;
    background: transparent !important;
  }

  body .wolf-sector-panel {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    flex: none !important;
    margin: 0 0 10px !important;
    overflow: hidden !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    background: #062e23 !important;
  }

  body .wolf-sector-panel:last-child {
    border-right: 1px solid rgba(255, 255, 255, 0.16) !important;
  }

  body .wolf-sector-panel,
  body .wolf-sector-panel.is-active {
    flex-basis: auto !important;
    flex-grow: 0 !important;
  }

  body .wolf-sector-tab {
    position: relative !important;
    display: grid !important;
    grid-template-columns: 42px 1fr 34px !important;
    align-items: center !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 78px !important;
    min-height: 78px !important;
    padding: 0 18px !important;
    border: 0 !important;
    background: #062e23 !important;
    text-align: left !important;
    flex: none !important;
  }

  body .wolf-sector-number {
    position: static !important;
    justify-self: start !important;
    transform: none !important;
    font-size: 10px !important;
    line-height: 1 !important;
  }

  body .wolf-sector-title-vertical {
    position: static !important;
    justify-self: start !important;
    transform: none !important;
    white-space: normal !important;
    font-family: Inter, Arial, sans-serif !important;
    font-size: 22px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: -0.03em !important;
  }

  body .wolf-sector-plus {
    position: static !important;
    justify-self: end !important;
    width: 28px !important;
    height: 28px !important;
    transform: none !important;
    font-size: 0 !important;
    line-height: 1 !important;
  }

  body .wolf-sector-plus::before {
    font-size: 28px !important;
    line-height: 28px !important;
  }

  body .wolf-sector-content {
    position: relative !important;
    display: none !important;
    width: 100% !important;
    min-height: 520px !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    background-image: var(--sector-image) !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
  }

  body .wolf-sector-panel.is-active .wolf-sector-content {
    display: block !important;
  }

  body .wolf-sector-shade {
    position: absolute !important;
    inset: 0 !important;
    background:
      linear-gradient(
        0deg,
        rgba(2, 9, 7, 0.96) 0%,
        rgba(2, 9, 7, 0.76) 55%,
        rgba(2, 9, 7, 0.25) 100%
      ) !important;
  }

  body .wolf-sector-copy {
    position: absolute !important;
    right: 24px !important;
    bottom: 28px !important;
    left: 24px !important;
    width: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  body .wolf-sector-eyebrow {
    margin-bottom: 12px !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
  }

  body .wolf-sector-copy h3,
  body .wolf-sector-accordion .wolf-card-title {
    font-family: Inter, Arial, sans-serif !important;
    font-size: clamp(38px, 12vw, 64px) !important;
    line-height: 0.9 !important;
    font-weight: 700 !important;
    letter-spacing: -0.055em !important;
    margin-bottom: 18px !important;
  }

  body .wolf-sector-copy p,
  body .wolf-sector-accordion .wolf-card-content {
    max-width: 100% !important;
    margin-bottom: 24px !important;
    font-family: Inter, Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
  }

  body .wolf-sector-link {
    gap: 16px !important;
    font-size: 10px !important;
  }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  body .wolf-sector-panel,
  body .wolf-sector-content,
  body .wolf-sector-copy,
  body .wolf-sector-link span {
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
}