/* =========================================
   HIGH ART CAPITAL - INSTITUTIONAL DESIGN
   Based on Blackstone/KKR design patterns
   ========================================= */

/* =========================================
   CRITICAL VARIABLE FIXES
   ========================================= */
:root {
  --fixed--1-5rem: 1.5rem !important;
  --hac-padding: 3rem;
  --hac-padding-tablet: 2.25rem;
  --hac-padding-mobile: 1.5rem;
  --hac-padding-small: 1rem;
}

/* =========================================
   GLOBAL PADDING - CONSISTENT EVERYWHERE
   ========================================= */
.padding-global {
  padding-left: var(--hac-padding) !important;
  padding-right: var(--hac-padding) !important;
}

.padding-global.is-tiny {
  padding-left: var(--hac-padding) !important;
  padding-right: var(--hac-padding) !important;
}

.padding-global.hero {
  padding-left: var(--hac-padding) !important;
  padding-right: var(--hac-padding) !important;
}

/* =========================================
   HERO SECTION - MAIN PAGE
   ========================================= */
.hero-section {
  width: 100%;
  position: relative;
}

.hero-media {
  width: 100%;
  height: 70vh;
  min-height: 500px;
  position: relative;
  overflow: hidden;
  background: #1a1a1a; /* Dark fallback - should see video, not this */
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  background: #f8f7f3;
  padding: var(--hac-padding);
}

.hero-inner {
  max-width: 900px;
}

.hero-logo {
  width: 180px;
  margin-bottom: 2rem;
}

.hero-headline {
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.5;
  color: #333;
  margin-bottom: 1rem;
}

.hero-tagline {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
}

@media screen and (max-width: 991px) {
  .hero-media {
    height: 50vh;
    min-height: 350px;
  }

  .hero-content {
    padding: var(--hac-padding-tablet);
  }

  .hero-logo {
    width: 150px;
  }

  .hero-headline {
    font-size: 1.25rem;
  }
}

@media screen and (max-width: 767px) {
  .hero-media {
    height: 45vh;
    min-height: 300px;
  }

  .hero-content {
    padding: var(--hac-padding-mobile);
  }

  .hero-logo {
    width: 130px;
    margin-bottom: 1.5rem;
  }

  .hero-headline {
    font-size: 1.125rem;
  }
}

@media screen and (max-width: 479px) {
  .hero-media {
    height: 40vh;
    min-height: 250px;
  }

  .hero-logo {
    width: 120px;
  }

  .hero-headline {
    font-size: 1rem;
  }
}

/* =========================================
   PRELOADER - LOGO + CUBES
   ========================================= */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #f8f7f3;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-logo {
  width: 200px;
  opacity: 0;
  animation: preloaderFadeIn 0.6s ease forwards;
}

.preloader-cubes {
  display: flex;
  gap: 8px;
}

.preloader-cubes .cube {
  width: 12px;
  height: 12px;
  opacity: 0;
}

.preloader-cubes .cube:nth-child(1) {
  animation: preloaderCube 1.2s ease-in-out infinite;
  animation-delay: 0s;
}

.preloader-cubes .cube:nth-child(2) {
  animation: preloaderCube 1.2s ease-in-out infinite;
  animation-delay: 0.2s;
}

.preloader-cubes .cube:nth-child(3) {
  animation: preloaderCube 1.2s ease-in-out infinite;
  animation-delay: 0.4s;
}

@keyframes preloaderFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes preloaderCube {
  0%, 100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

/* =========================================
   SECTION LABELS - PROMINENT HEADERS
   Based on KKR/Blackstone uppercase labels
   ========================================= */
.text-style-label {
  font-size: 1.125rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: #1a1a1a !important;
  margin: 0 !important;
  line-height: 1 !important;
}

/* Only target label_wrap in sections, not in navbar */
.label_wrap.approach {
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  margin-bottom: 1.5rem !important;
}

/* Align cubes with text baseline */
.label_wrap.approach .cube-accent {
  align-self: center !important;
}

/* Reset navbar's empty label_wrap */
.navbar .label_wrap {
  display: none !important;
}

.label_line {
  width: 2.5rem !important;
  height: 2px !important;
  background-color: var(--_colors---hac-blue, #00adee) !important;
}

/* =========================================
   TYPOGRAPHY HIERARCHY
   Clear levels: Labels > Headings > Body
   ========================================= */

/* Fix broken line-height */
.secondary_text.line-weight-thin {
  line-height: 1.7 !important;
  font-size: 1rem !important;
  font-weight: 300 !important;
}

.secondary_text {
  font-size: 1rem !important;
  line-height: 1.7 !important;
}

/* Section headings */
.heading-stye-h2 {
  font-size: 1.5rem !important;
  line-height: 1.4 !important;
  font-weight: 500 !important;
  color: #1a1a1a !important;
  letter-spacing: -0.01em !important;
}

/* =========================================
   HERO SECTION - CLEAN STACKED LAYOUT
   Video on top, content below
   ========================================= */

.hero-section {
  width: 100%;
}

.hero-media {
  width: 100%;
  height: 50vh;
  min-height: 350px;
  position: relative;
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  background: #f8f7f3;
  padding: 3rem;
}

.hero-inner {
  max-width: 850px;
}

.hero-logo {
  width: 200px;
  margin-bottom: 1.5rem;
}

.hero-headline {
  font-size: 1.625rem;
  font-weight: 500;
  line-height: 1.4;
  color: #1a1a1a;
  margin: 0 0 1.25rem 0;
  letter-spacing: -0.01em;
}

.hero-tagline {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  color: #444;
  margin: 0;
}

/* =========================================
   CONTENT SECTIONS (About, Approach, Platform)
   Asymmetric overlapping card layout (inspired by hero 3/3A)
   ========================================= */

/* Image + text layout with overlap effect */
.brands_head {
  display: flex !important;
  gap: 0 !important;
  align-items: center !important;
  position: relative !important;
}

.label-image-top {
  display: flex !important;
  flex-direction: column !important;
  gap: 1rem !important;
  min-width: 320px !important;
  width: 38% !important;
  position: relative !important;
  z-index: 1 !important;
  margin-right: -80px !important;
}

.services_img-wrap.approach {
  aspect-ratio: 4 / 5 !important;
  width: 100% !important;
  position: relative !important;
  overflow: hidden !important;
  border-radius: 4px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
}

/* Section overflow */
.section_about_us {
  overflow: hidden !important;
}

/* Alternating section layouts - Approach section flipped */
#approach .brands_head {
  flex-direction: row-reverse !important;
}

#approach .label-image-top {
  margin-right: 0 !important;
  margin-left: -80px !important;
}

#approach .brands_heading {
  padding: 2.5rem 3.5rem 2.5rem 2.5rem !important;
}

/* =========================================
   UNIFORM SECTION SPACING
   ========================================= */

/* Position split-line at absolute top of section */
.section_about_us {
  position: relative !important;
  padding-top: 0 !important;
  padding-bottom: 3rem !important;
}

.section_about_us > .split-line {
  position: relative !important;
  z-index: 10 !important;
}

/* Add padding after split-line via the content wrapper */
.section_about_us > .padding-global {
  padding-top: 2rem !important;
}

.section_brands {
  padding-top: 2rem !important;
  padding-bottom: 3rem !important;
}

/* Zero out all internal spacers - section padding handles it */
.section_about_us .padding-section-small,
.section_brands .padding-section-small,
.section_about_us .padding-global.is-tiny,
.section_brands .padding-global.is-tiny {
  padding: 0 !important;
  height: 0 !important;
  display: none !important;
}

.section_brands .spacer-xxlarge {
  padding: 0 !important;
  height: 0 !important;
  display: none !important;
}

/* Content spacers inside cards */
.brands_heading .spacer-lmedium {
  display: none !important;
}

/* Base image styling */
.services_img.approach,
.services_img.platform {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 4px !important;
}

/* Text boxes - floating card effect */
.brands_heading {
  padding: 2.5rem 2.5rem 2.5rem 3.5rem !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  flex: 1 !important;
  position: relative !important;
  z-index: 2 !important;
  background: white !important;
  border-radius: 4px !important;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08) !important;
  min-height: 280px !important;
}

/* Blue card variant for About Us */
.brands_heading.blue-card {
  background-color: #e8f4fc !important;
  border-radius: 4px !important;
}

.div-block-9 {
  flex: 1 !important;
  position: relative !important;
  z-index: 2 !important;
}

/* Platform section - card inside div-block-9 */
.div-block-9 .brands_heading.blue-card {
  margin-left: -80px !important;
  min-height: 280px !important;
}

.brands_heading .heading-stye-h2 {
  font-size: 1.375rem !important;
  line-height: 1.4 !important;
  margin-bottom: 0.75rem !important;
}

.brands_heading .secondary_text.line-weight-thin {
  font-size: 0.9375rem !important;
  line-height: 1.75 !important;
}

/* =========================================
   SUBTLE POLISH
   ========================================= */
.container-medium.card.hero {
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.06);
}

.card_component.vertical {
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.04);
}

/* =========================================
   TABLET - 991px
   ========================================= */
@media screen and (max-width: 991px) {
  :root {
    --fixed--1-5rem: 1.5rem !important;
    --hac-padding: 2.25rem;
  }

  .padding-global,
  .padding-global.is-tiny,
  .padding-global.hero {
    padding-left: var(--hac-padding) !important;
    padding-right: var(--hac-padding) !important;
  }

  /* Hero responsive - tablet */
  .hero-media {
    height: 45vh;
    min-height: 300px;
  }

  .hero-content {
    padding: 2.5rem;
  }

  .hero-headline {
    font-size: 1.5rem;
  }

  .brands_head {
    flex-direction: column !important;
    gap: 0 !important;
  }

  .label-image-top {
    width: 100% !important;
    min-width: unset !important;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
  }

  .services_img-wrap.approach {
    aspect-ratio: 16 / 9 !important;
    border-radius: 4px 4px 0 0 !important;
  }

  .brands_heading {
    padding: 2rem !important;
    margin-top: -1.5rem !important;
    margin-left: 1.5rem !important;
    margin-right: 1.5rem !important;
    min-height: auto !important;
    border-radius: 4px !important;
  }

  .div-block-9 {
    margin-top: 0 !important;
    width: 100% !important;
  }

  .div-block-9 .brands_heading.blue-card {
    margin-left: 1.5rem !important;
    margin-right: 1.5rem !important;
    margin-top: -1.5rem !important;
    min-height: auto !important;
  }

  /* Reset alternating layout on tablet - stacks vertically */
  .section_brands.beige-bkg .label-image-top,
  .section_brands.beige-bkg .div-block-9 {
    order: unset !important;
  }

  /* Reset Approach section flip on tablet */
  #approach .brands_head {
    flex-direction: column !important;
  }

  #approach .label-image-top {
    margin-left: 0 !important;
  }

  #approach .brands_heading {
    padding: 2rem !important;
    margin-top: -1.5rem !important;
    margin-left: 1.5rem !important;
    margin-right: 1.5rem !important;
  }

  .section_about_us {
    padding-top: 0 !important;
    padding-bottom: 2.5rem !important;
  }

  .section_about_us > .padding-global {
    padding-top: 1.5rem !important;
  }

  .section_brands {
    padding-top: 1.5rem !important;
    padding-bottom: 2.5rem !important;
  }

  .text-style-label {
    font-size: 0.8125rem !important;
  }

  .heading-stye-h2 {
    font-size: 1.25rem !important;
  }

  .brands_heading .heading-stye-h2 {
    font-size: 1.1875rem !important;
  }

  .secondary_text.line-weight-thin {
    font-size: 0.9375rem !important;
  }

  .cell-card {
    padding: 1.25rem 1.5rem !important;
  }

  .brands_heading {
    padding: 1.75rem 2rem !important;
  }

  /* Images scale via aspect-ratio, no fixed heights needed */

  .div-block-16 {
    min-height: 260px;
  }
}

/* =========================================
   MOBILE - 767px
   ========================================= */
@media screen and (max-width: 767px) {
  :root {
    --fixed--1-5rem: 1.5rem !important;
    --hac-padding: 1.5rem;
  }

  .padding-global,
  .padding-global.is-tiny,
  .padding-global.hero {
    padding-left: var(--hac-padding) !important;
    padding-right: var(--hac-padding) !important;
  }

  .text-style-label {
    font-size: 0.75rem !important;
    letter-spacing: 0.12em !important;
  }

  .label_wrap {
    margin-bottom: 1rem !important;
  }

  /* Hero responsive - mobile */
  .hero-media {
    height: 40vh;
    min-height: 250px;
  }

  .hero-content {
    padding: 2rem 1.5rem;
  }

  .hero-headline {
    font-size: 1.375rem;
  }

  .hero-tagline {
    font-size: 0.9375rem;
  }

  .hero-logo {
    width: 170px;
  }

  .heading-stye-h2 {
    font-size: 1.0625rem !important;
  }

  .brands_heading .heading-stye-h2 {
    font-size: 1rem !important;
  }

  .secondary_text,
  .secondary_text.line-weight-thin {
    font-size: 0.875rem !important;
    line-height: 1.65 !important;
  }

  .brands_heading {
    padding: 1.5rem !important;
    margin-top: -1.25rem !important;
    margin-left: 1rem !important;
    margin-right: 1rem !important;
  }

  .div-block-9 .brands_heading.blue-card {
    margin-left: 1rem !important;
    margin-right: 1rem !important;
    margin-top: -1.25rem !important;
  }

  .section_about_us {
    padding-top: 0 !important;
    padding-bottom: 2rem !important;
  }

  .section_about_us > .padding-global {
    padding-top: 1.25rem !important;
  }

  .section_brands {
    padding-top: 1.25rem !important;
    padding-bottom: 2rem !important;
  }

  .div-block-16 {
    min-height: 200px;
  }
}

/* =========================================
   SMALL MOBILE - 479px
   ========================================= */
@media screen and (max-width: 479px) {
  :root {
    --fixed--1-5rem: 1.5rem !important;
    --hac-padding: 1rem;
  }

  .padding-global,
  .padding-global.is-tiny,
  .padding-global.hero {
    padding-left: var(--hac-padding) !important;
    padding-right: var(--hac-padding) !important;
  }

  /* Hero responsive - small mobile */
  .hero-media {
    height: 35vh;
    min-height: 200px;
  }

  .hero-content {
    padding: 1.5rem 1.25rem;
  }

  .hero-logo {
    width: 140px;
    margin-bottom: 1rem;
  }

  .hero-headline {
    font-size: 1.125rem;
  }

  .hero-tagline {
    font-size: 0.875rem;
  }

  .text-style-label {
    font-size: 0.6875rem !important;
    letter-spacing: 0.1em !important;
  }

  .label_wrap {
    margin-bottom: 0.75rem !important;
    gap: 0.5rem !important;
  }

  .label_line {
    width: 1.5rem !important;
  }

  .heading-stye-h2 {
    font-size: 0.9375rem !important;
  }

  .brands_heading .heading-stye-h2 {
    font-size: 0.875rem !important;
  }

  .secondary_text,
  .secondary_text.line-weight-thin {
    font-size: 0.8125rem !important;
    line-height: 1.6 !important;
  }

  .cell-card.logo {
    padding: 0.875rem 1rem !important;
    text-align: center;
  }

  .hac-logo {
    width: 140px !important;
  }

  .brands_heading {
    padding: 1.25rem !important;
    margin-top: -1rem !important;
    margin-left: 0.75rem !important;
    margin-right: 0.75rem !important;
  }

  .div-block-9 .brands_heading.blue-card {
    margin-left: 0.75rem !important;
    margin-right: 0.75rem !important;
    margin-top: -1rem !important;
  }

  .section_about_us {
    padding-top: 0 !important;
    padding-bottom: 1.5rem !important;
  }

  .section_about_us > .padding-global {
    padding-top: 1rem !important;
  }

  .section_brands {
    padding-top: 1rem !important;
    padding-bottom: 1.5rem !important;
  }

  .div-block-16 {
    min-height: 160px;
  }

  .split-line,
  .split-line.reverse {
    height: 3px !important;
  }

  .navbar_logo {
    width: 100px !important;
  }

  .footer_brand .navbar_logo {
    width: 110px !important;
  }
}

/* =========================================
   TOUCH DEVICES
   ========================================= */
@media (hover: none) and (pointer: coarse) {
  .navbar_link {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .navbar_hamburger-wrap {
    min-width: 44px;
    min-height: 44px;
  }
}


/* =========================================
   🏷️ INSTITUTIONAL REFINEMENT #1: NAVBAR
   =========================================
   - Keep original Webflow navbar styling
   - Only add hover color effect
   DELETE THIS SECTION TO REMOVE
   ========================================= */

.navbar_link:hover .navbar_link-text._1,
.navbar_link:hover .navbar_link-text._2 {
  color: var(--_colors---hac-blue, #00adee) !important;
}


/* =========================================
   🏷️ INSTITUTIONAL REFINEMENT #2: FOOTER
   =========================================
   - Refined, institutional footer
   - Centered layout with visual hierarchy
   - Cube accent integration
   DELETE THIS SECTION TO REMOVE
   ========================================= */

.footer {
  background: #f8f7f3 !important;
  border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
}

.footer_wrap {
  max-width: 900px !important;
  margin: 0 auto !important;
  padding: 0 2rem !important;
}

/* Hide old split-line inside footer_wrap - new one is positioned absolutely at footer top */
.footer .footer_wrap .split-line {
  display: none !important;
}

/* Footer top split-line (positioned absolutely, overlapping) */
.footer > .split-line.reverse {
  display: grid !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  transform: translateY(-50%) !important;
  z-index: 10 !important;
}

/* Hide empty label_wrap in footer */
.footer .label_wrap {
  display: none !important;
}

/* Footer logo */
.footer_brand {
  padding: 1.75rem 0 1rem !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 0.75rem !important;
}

.footer_brand .navbar_logo {
  width: 160px !important;
  height: auto !important;
  opacity: 0.85 !important;
  transition: opacity 0.3s ease !important;
}

.footer_brand .navbar_logo:hover {
  opacity: 1 !important;
}

/* Cube accent row in footer */
.footer-cubes {
  display: flex;
  justify-content: center;
  gap: 5px;
}

.footer-cubes .cube {
  width: 6px;
  height: 6px;
}

/* Footer links */
.footer_links-groups {
  display: flex !important;
  justify-content: center !important;
  padding: 1rem 0 !important;
}

.footer_link {
  font-size: 0.625rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: #1a1a1a !important;
  text-decoration: none !important;
  padding: 0.4rem 1rem !important;
  border: 1px solid #1a1a1a !important;
  border-radius: 2px !important;
  transition: all 0.25s ease !important;
  display: inline-block !important;
}

.footer_link:hover {
  background: #1a1a1a !important;
  color: #fff !important;
}

/* Copyright */
.copywrite {
  text-align: center !important;
  font-size: 0.5625rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: #999 !important;
  padding: 1.25rem 0 1.5rem !important;
  display: block !important;
  width: 100% !important;
}

/* Remove spacer in footer */
.footer .spacer-small {
  display: none !important;
}

/* Remove extra padding wrapper around copyright */
.footer .padding-global.is-tiny {
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
}

/* Responsive footer */
@media screen and (max-width: 767px) {
  .footer_wrap {
    padding: 0 1.5rem !important;
  }

  .footer_brand {
    padding: 1.5rem 0 0.75rem !important;
  }

  .footer_brand .navbar_logo {
    width: 140px !important;
  }

  .footer_link {
    font-size: 0.5625rem !important;
    padding: 0.35rem 0.875rem !important;
  }

  .footer-cubes .cube {
    width: 5px;
    height: 5px;
  }

  .copywrite {
    padding: 1rem 0 1.25rem !important;
  }
}

@media screen and (max-width: 479px) {
  .footer_wrap {
    padding: 0 1rem !important;
  }

  .footer_brand .navbar_logo {
    width: 120px !important;
  }

  .copywrite {
    font-size: 0.5rem !important;
    padding: 0.875rem 0 1rem !important;
  }
}


/* =========================================
   🏷️ INSTITUTIONAL REFINEMENT #3: FADE-IN
   =========================================
   - Subtle fade-in on scroll for sections
   - Uses CSS-only approach (no JS needed)
   - Elements start invisible and fade in
   DELETE THIS SECTION TO REMOVE
   ========================================= */

/* Initial state - elements hidden */
.hero-content,
.brands_heading,
.label-image-top {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
}

/* Stagger the animations */
.hero-content {
  animation-delay: 0.2s;
}

.section_about_us .label-image-top {
  animation-delay: 0.1s;
}

.section_about_us .brands_heading {
  animation-delay: 0.3s;
}

#approach .label-image-top {
  animation-delay: 0.1s;
}

#approach .brands_heading {
  animation-delay: 0.3s;
}

#platform .label-image-top {
  animation-delay: 0.1s;
}

#platform .brands_heading {
  animation-delay: 0.3s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* =========================================
   🏷️ INSTITUTIONAL REFINEMENT #4: LARGER
   DESKTOP HERO TYPOGRAPHY
   =========================================
   - Bumps hero headline size on larger screens
   - More impactful first impression
   DELETE THIS SECTION TO REMOVE
   ========================================= */

@media screen and (min-width: 1200px) {
  .hero-headline {
    font-size: 1.875rem !important;
    max-width: 900px;
  }

  .hero-tagline {
    font-size: 1.0625rem !important;
  }

  .hero-logo {
    width: 220px !important;
    margin-bottom: 1.75rem !important;
  }
}

@media screen and (min-width: 1400px) {
  .hero-headline {
    font-size: 2rem !important;
    max-width: 950px;
  }

  .hero-inner {
    max-width: 950px;
  }
}


/* =========================================
   🏷️ INSTITUTIONAL REFINEMENT #5: BREATHING
   ROOM - SECTION SPACING
   =========================================
   - More generous spacing after hero
   - Better visual separation between sections
   DELETE THIS SECTION TO REMOVE
   ========================================= */

/* Extra space after hero before About section */
.hero-content {
  padding-bottom: 4rem !important;
}

/* More breathing room in content sections */
@media screen and (min-width: 992px) {
  .section_about_us > .padding-global {
    padding-top: 3rem !important;
  }

  .section_about_us {
    padding-bottom: 4rem !important;
  }

  .section_brands {
    padding-top: 3rem !important;
    padding-bottom: 4rem !important;
  }
}


/* =========================================
   🏷️ INSTITUTIONAL REFINEMENT #6: IMAGE
   HOVER EFFECTS
   =========================================
   - Subtle zoom on hover for section images
   - Professional interaction feedback
   DELETE THIS SECTION TO REMOVE
   ========================================= */

.services_img-wrap.approach {
  overflow: hidden !important;
}

.services_img.approach,
.services_img.platform {
  transition: transform 0.6s ease !important;
}

.services_img-wrap.approach:hover .services_img.approach,
.services_img-wrap.approach:hover .services_img.platform {
  transform: scale(1.03) !important;
}


/* =========================================
   🏷️ INSTITUTIONAL REFINEMENT #7: TEXT
   CARD HOVER
   =========================================
   - Subtle lift on hover for text cards
   - Professional interaction feedback
   DELETE THIS SECTION TO REMOVE
   ========================================= */

.brands_heading {
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

@media screen and (min-width: 992px) {
  .brands_heading:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 50px rgba(0, 0, 0, 0.12) !important;
  }
}


/* =========================================
   🏷️ BUILDING BLOCKS #1: CUBE ACCENTS
   =========================================
   - Small cube clusters near section labels
   - Brand colors: blue, green, dark
   DELETE THIS SECTION TO REMOVE
   ========================================= */

/* Cube accent container */
.cube-accent {
  display: flex;
  gap: 3px;
  margin-right: 0.75rem;
}

/* Individual cube */
.cube-accent .cube {
  width: 8px;
  height: 8px;
}

/* 2x2 grid accent */
.cube-accent.grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 8px);
  gap: 3px;
}

/* 2x3 stacked accent */
.cube-accent.grid-2x3 {
  display: grid;
  grid-template-columns: repeat(2, 8px);
  grid-template-rows: repeat(3, 8px);
  gap: 3px;
}

/* Mini pyramid accent */
.cube-accent.pyramid {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cube-accent.pyramid .pyramid-row {
  display: flex;
  gap: 2px;
}
.cube-accent.pyramid .cube {
  width: 6px;
  height: 6px;
}

/* Brand color classes */
.cube.hac-blue { background: var(--_colors---hac-blue, #00adee); }
.cube.hac-green { background: var(--_colors---hac-green, #becab8); }
.cube.hac-dark { background: #333; }
.cube.hac-beige { background: #f8f7f3; }

/* Background color classes */
.green-bkg { background-color: var(--_colors---hac-green, #becab8) !important; }
.blue-bkg { background-color: var(--_colors---hac-blue, #00adee) !important; }
.dark-bkg { background-color: #333 !important; }
.beige-bkg { background-color: #f8f7f3 !important; }

/* Advisory section - cards white for contrast on green */
.section_advisors .about-team_item {
  background: #fff !important;
}

.section_advisors .about-team_texts {
  background: #fff !important;
}

/* Auto-swap cubes on colored backgrounds to maintain contrast */
/* On green backgrounds: swap green cube → beige */
.green-bkg .cube.hac-green,
[class*="green-bkg"] .cube.hac-green {
  background: #f8f7f3 !important;
}

/* On blue backgrounds: swap blue cube → beige */
.blue-bkg .cube.hac-blue,
[class*="blue-bkg"] .cube.hac-blue {
  background: #f8f7f3 !important;
}

/* On dark backgrounds: swap dark cube → beige */
.dark-bkg .cube.hac-dark,
[class*="dark-bkg"] .cube.hac-dark {
  background: #f8f7f3 !important;
}

/* On beige backgrounds: swap beige cube → white (if used) */
.beige-bkg .cube.hac-beige,
[class*="beige-bkg"] .cube.hac-beige {
  background: #fff !important;
}

/* Responsive - smaller on mobile */
@media screen and (max-width: 767px) {
  .cube-accent .cube {
    width: 6px;
    height: 6px;
  }
  .cube-accent.grid-2x2 {
    grid-template-columns: repeat(2, 6px);
  }
  .cube-accent.grid-2x3 {
    grid-template-columns: repeat(2, 6px);
    grid-template-rows: repeat(3, 6px);
  }
  .cube-accent {
    gap: 2px;
    margin-right: 0.5rem;
  }
}

@media screen and (max-width: 479px) {
  .cube-accent .cube {
    width: 5px;
    height: 5px;
  }
  .cube-accent.grid-2x2 {
    grid-template-columns: repeat(2, 5px);
  }
  .cube-accent.grid-2x3 {
    grid-template-columns: repeat(2, 5px);
    grid-template-rows: repeat(3, 5px);
  }
}


/* =========================================
   🏷️ BUILDING BLOCKS #2: BACKGROUND PATTERNS
   =========================================
   - Dot grid and architectural grid patterns
   - Apply with .pattern-dots or .pattern-grid
   DELETE THIS SECTION TO REMOVE
   ========================================= */

/* Dot pattern - alternating blue and green */
.pattern-dots {
  background-color: inherit;
  background-image:
    radial-gradient(rgba(0,173,238,0.15) 1.5px, transparent 1.5px),
    radial-gradient(rgba(190,202,184,0.25) 1.5px, transparent 1.5px) !important;
  background-size: 24px 24px !important;
  background-position: 0 0, 12px 12px !important;
}

/* Grid pattern - blue major, green minor */
.pattern-grid {
  background-color: inherit;
  background-image:
    linear-gradient(rgba(0,173,238,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,173,238,0.06) 1px, transparent 1px),
    linear-gradient(rgba(190,202,184,0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(190,202,184,0.12) 1px, transparent 1px) !important;
  background-size: 60px 60px, 60px 60px, 12px 12px, 12px 12px !important;
}


/* =========================================
   🏷️ BUILDING BLOCKS #3: CUBE DIVIDER
   =========================================
   - Row of repeating cubes between sections
   - Replace or complement split-line
   DELETE THIS SECTION TO REMOVE
   ========================================= */

.cube-divider {
  display: flex;
  justify-content: center;
  gap: 4px;
  padding: 0.5rem 0;
}

.cube-divider .cube {
  width: 10px;
  height: 10px;
}

/* Responsive */
@media screen and (max-width: 767px) {
  .cube-divider .cube {
    width: 8px;
    height: 8px;
  }
  .cube-divider {
    gap: 3px;
  }
}

@media screen and (max-width: 479px) {
  .cube-divider .cube {
    width: 6px;
    height: 6px;
  }
  .cube-divider {
    gap: 2px;
  }
}


/* =========================================
   🏷️ LEADERSHIP PAGE - HERO
   =========================================
   - Matches main page hero structure
   - Left-aligned content, split-line at bottom
   DELETE THIS SECTION TO REMOVE
   ========================================= */

.leadership-hero {
  width: 100% !important;
}

/* Media area - pattern background instead of video */
.leadership-hero .leadership-media {
  width: 100% !important;
  height: 50vh !important;
  min-height: 350px !important;
  background: linear-gradient(135deg, #f8f7f3 0%, #f0efe9 100%) !important;
  position: relative !important;
  overflow: hidden !important;
}

/* Add subtle dot pattern to media area */
.leadership-hero .leadership-media::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(rgba(0,173,238,0.12) 1.5px, transparent 1.5px),
    radial-gradient(rgba(190,202,184,0.2) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  background-position: 0 0, 12px 12px;
}

/* Hero content - left aligned like main page */
.leadership-hero .hero-content {
  background: #f8f7f3 !important;
  padding: 3rem !important;
}

.leadership-hero .hero-inner {
  max-width: 850px !important;
  text-align: left !important;
}

/* Cube accent left-aligned above title */
.leadership-hero .cube-accent.leadership-cubes {
  display: flex !important;
  justify-content: flex-start !important;
  margin: 0 0 1.5rem 0 !important;
}

/* Use same headline styling as main hero */
.leadership-hero .hero-headline {
  margin-bottom: 1rem !important;
}

/* Use same tagline styling as main hero */
.leadership-hero .hero-tagline {
  max-width: 700px !important;
  margin: 0 !important;
}

@media screen and (max-width: 991px) {
  .leadership-hero .leadership-media {
    height: 45vh !important;
    min-height: 300px !important;
  }

  .leadership-hero .hero-content {
    padding: 2.5rem !important;
  }
}

@media screen and (max-width: 767px) {
  .leadership-hero .leadership-media {
    height: 40vh !important;
    min-height: 280px !important;
  }

  .leadership-hero .hero-content {
    padding: 2rem 1.5rem !important;
  }

  .leadership-hero .cube-accent.leadership-cubes {
    margin-bottom: 1rem !important;
  }
}

@media screen and (max-width: 479px) {
  .leadership-hero .leadership-media {
    height: 35vh !important;
    min-height: 250px !important;
  }

  .leadership-hero .hero-content {
    padding: 1.5rem 1.25rem !important;
  }
}


/* =========================================
   🏷️ LEADERSHIP PAGE - OPTION A
   =========================================
   - Classic grid with beige cards
   - Cube accents on section labels
   - Clean, institutional feel
   DELETE THIS SECTION TO REMOVE
   ========================================= */

/* Leadership intro section */
.section_brands .brands_heading.leadership-intro {
  background: transparent !important;
  box-shadow: none !important;
  text-align: center !important;
  max-width: 800px !important;
  margin: 0 auto !important;
  padding: 2rem !important;
}

.section_brands .brands_heading.leadership-intro .heading-style-h4 {
  font-size: 1.375rem !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  color: #333 !important;
}

/* Team section styling */
.section_team {
  background: #fff !important;
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}

.section_team .label_wrap {
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  margin-bottom: 2rem !important;
}

.section_team .label_line {
  display: none !important;
}

.section_team .text-style-label {
  font-size: 1rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: #1a1a1a !important;
}

/* Team grid */
.about-team_grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 2rem !important;
  margin-bottom: 3rem !important;
}

/* Team card - sharp corners for institutional look */
.about-team_item {
  background: #f8f7f3 !important;
  border-radius: 0 !important;
  overflow: hidden !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.about-team_item:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1) !important;
}

/* Team photo - force all corners sharp */
.about-team_img-wrap {
  width: 100% !important;
  aspect-ratio: 1 !important;
  overflow: hidden !important;
  position: relative !important;
  border-radius: 0 !important;
}

.about-team_img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center top !important;
  border-radius: 0 !important;
  /* Stronger normalization: more grayscale + brightness/contrast adjustment */
  filter: grayscale(35%) brightness(1.05) contrast(0.92) saturate(0.85) !important;
  transition: filter 0.3s ease, transform 0.5s ease !important;
}

/* Override any Webflow default rounded corners */
.about-team_item *,
.about-team_img-wrap *,
.about-team_texts {
  border-radius: 0 !important;
}

.about-team_item:hover .about-team_img {
  filter: grayscale(0%) brightness(1) contrast(1) saturate(1) !important;
  transform: scale(1.02) !important;
}

/* Team info */
.about-team_texts {
  padding: 1.25rem !important;
  text-align: center !important;
}

.about-team_text {
  font-size: 1rem !important;
  font-weight: 600 !important;
  color: #1a1a1a !important;
  margin-bottom: 0.25rem !important;
}

.about-team_text-2 {
  font-size: 0.8125rem !important;
  font-weight: 400 !important;
  color: #666 !important;
  letter-spacing: 0.05em !important;
}

/* Team component spacing */
.team_component {
  margin-bottom: 2rem !important;
}

.team_component .spacer-lmedium {
  display: none !important;
}

/* Hide green bar on leadership page */
.padding-section-medium.green_bar {
  display: none !important;
}

/* Leadership page responsive */
@media screen and (max-width: 991px) {
  .section_team {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }

  .about-team_grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem !important;
  }
}

@media screen and (max-width: 767px) {
  .section_team {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  .about-team_grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
  }

  .about-team_texts {
    padding: 1rem !important;
  }

  .about-team_text {
    font-size: 0.9375rem !important;
  }

  .about-team_text-2 {
    font-size: 0.75rem !important;
  }

  .section_team .text-style-label {
    font-size: 0.875rem !important;
  }
}

@media screen and (max-width: 479px) {
  .section_team {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }

  .about-team_grid {
    gap: 0.75rem !important;
  }

  .about-team_texts {
    padding: 0.875rem !important;
  }

  .about-team_text {
    font-size: 0.875rem !important;
  }

  .about-team_text-2 {
    font-size: 0.6875rem !important;
  }
}

/* =========================================
   TEAM BIO - HOVER OVERLAY
   Currently DISABLED - enable in Webflow when ready
   ========================================= */

/* Hide bios completely for now */
.team-bio-content {
  display: none !important;
}

/*
   TO ENABLE BIOS: Remove the above rule and uncomment below:

.team-bio-toggle {
  display: none !important;
}

.about-team_img-wrap {
  position: relative !important;
}

.team-bio-content {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 60%, transparent 100%) !important;
  padding: 3rem 1rem 1rem !important;
  opacity: 0 !important;
  transform: translateY(10px) !important;
  transition: opacity 0.3s ease, transform 0.3s ease !important;
  pointer-events: none !important;
}

.about-team_item:hover .team-bio-content {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.team-bio-text {
  font-size: 0.8125rem !important;
  line-height: 1.5 !important;
  color: #fff !important;
  text-align: left !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}
*/


/* =========================================
   🏷️ CONTACT PAGE
   =========================================
   - Institutional contact layout
   - Two-column grid: info + form
   - Clean, professional form styling
   DELETE THIS SECTION TO REMOVE
   ========================================= */

/* Contact Hero - same structure as leadership */
.contact-hero {
  width: 100% !important;
}

.contact-hero .contact-media {
  width: 100% !important;
  height: 50vh !important;
  min-height: 350px !important;
  background: linear-gradient(135deg, #f8f7f3 0%, #f0efe9 100%) !important;
  position: relative !important;
  overflow: hidden !important;
}

.contact-hero .contact-media::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(rgba(0,173,238,0.12) 1.5px, transparent 1.5px),
    radial-gradient(rgba(190,202,184,0.2) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  background-position: 0 0, 12px 12px;
}

.contact-hero .hero-content {
  background: #f8f7f3 !important;
  padding: 3rem !important;
}

.contact-hero .hero-inner {
  max-width: 850px !important;
  text-align: left !important;
}

.contact-hero .cube-accent.contact-cubes {
  display: flex !important;
  justify-content: flex-start !important;
  margin: 0 0 1.5rem 0 !important;
}

.contact-hero .hero-headline {
  margin-bottom: 1rem !important;
}

.contact-hero .hero-tagline {
  max-width: 700px !important;
  margin: 0 !important;
}

/* Contact Section */
.section_contact {
  background: #fff !important;
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}

/* Two-column grid layout */
.contact-grid {
  display: grid !important;
  grid-template-columns: 1fr 1.5fr !important;
  gap: 4rem !important;
  align-items: start !important;
}

/* Contact Info Column */
.contact-info {
  padding-top: 0.5rem !important;
}

.contact-info .label_wrap {
  margin-bottom: 2rem !important;
}

.contact-details {
  display: flex !important;
  flex-direction: column !important;
  gap: 2rem !important;
}

.contact-block {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.5rem !important;
}

.contact-label {
  font-size: 0.6875rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: #999 !important;
  margin: 0 !important;
}

.contact-value {
  font-size: 1rem !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
  color: #333 !important;
  margin: 0 !important;
  font-style: normal !important;
}

.contact-link {
  text-decoration: none !important;
  color: #333 !important;
  transition: color 0.2s ease !important;
}

.contact-link:hover {
  color: var(--_colors---hac-blue, #00adee) !important;
}

.contact-address {
  font-style: normal !important;
}

/* Contact Form Column */
.contact-form-wrap .label_wrap {
  margin-bottom: 2rem !important;
}

.contact-form {
  display: flex !important;
  flex-direction: column !important;
  gap: 1.5rem !important;
}

.form-field {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.5rem !important;
}

.form-label {
  font-size: 0.6875rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: #333 !important;
}

.form-optional {
  font-weight: 400 !important;
  color: #999 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}

.form-input {
  width: 100% !important;
  padding: 0.875rem 1rem !important;
  font-size: 1rem !important;
  font-weight: 400 !important;
  color: #333 !important;
  background: #f8f7f3 !important;
  border: 1px solid #e5e5e5 !important;
  border-radius: 0 !important;
  transition: border-color 0.2s ease, background-color 0.2s ease !important;
  font-family: inherit !important;
}

.form-input::placeholder {
  color: #aaa !important;
}

.form-input:focus {
  outline: none !important;
  border-color: var(--_colors---hac-blue, #00adee) !important;
  background: #fff !important;
}

.form-textarea {
  min-height: 150px !important;
  resize: vertical !important;
}

.form-submit {
  display: inline-block !important;
  padding: 1rem 2rem !important;
  font-size: 0.6875rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: #fff !important;
  background: #333 !important;
  border: none !important;
  border-radius: 0 !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease !important;
  align-self: flex-start !important;
}

.form-submit:hover {
  background: var(--_colors---hac-blue, #00adee) !important;
}

/* Success Message */
.form-success {
  margin-top: 1rem !important;
  padding: 3rem 2rem !important;
  background: #f8f7f3 !important;
  text-align: center !important;
  border: 1px solid #e5e5e5 !important;
}

.form-success-inner {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 1rem !important;
}

.form-success-heading {
  font-size: 1.25rem !important;
  font-weight: 500 !important;
  color: #333 !important;
  margin: 0 !important;
}

.form-success-text {
  font-size: 1rem !important;
  color: #666 !important;
  margin: 0 !important;
}

/* Error Message */
.form-error {
  padding: 1rem !important;
  background: #fff5f5 !important;
  border: 1px solid #ffcccc !important;
  color: #cc0000 !important;
  font-size: 0.875rem !important;
}

.form-error p {
  margin: 0 !important;
}

/* Contact Page Responsive */
@media screen and (max-width: 991px) {
  .contact-hero .contact-media {
    height: 45vh !important;
    min-height: 300px !important;
  }

  .contact-hero .hero-content {
    padding: 2.5rem !important;
  }

  .section_contact {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }

  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 3rem !important;
  }
}

@media screen and (max-width: 767px) {
  .contact-hero .contact-media {
    height: 40vh !important;
    min-height: 280px !important;
  }

  .contact-hero .hero-content {
    padding: 2rem 1.5rem !important;
  }

  .contact-hero .cube-accent.contact-cubes {
    margin-bottom: 1rem !important;
  }

  .section_contact {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  .contact-grid {
    gap: 2.5rem !important;
  }

  .contact-info .label_wrap,
  .contact-form-wrap .label_wrap {
    margin-bottom: 1.5rem !important;
  }

  .contact-details {
    gap: 1.5rem !important;
  }

  .form-input {
    padding: 0.75rem !important;
  }

  .form-submit {
    width: 100% !important;
    text-align: center !important;
  }
}

@media screen and (max-width: 479px) {
  .contact-hero .contact-media {
    height: 35vh !important;
    min-height: 250px !important;
  }

  .contact-hero .hero-content {
    padding: 1.5rem 1.25rem !important;
  }

  .section_contact {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }

  .contact-grid {
    gap: 2rem !important;
  }

  .contact-form {
    gap: 1.25rem !important;
  }

  .form-textarea {
    min-height: 120px !important;
  }
}

/* =========================================
   BACK TO TOP BUTTON - INSTITUTIONAL
   ========================================= */

/* Base styles - smaller, more subtle */
.link-block {
  width: 36px !important;
  height: 36px !important;
  bottom: 24px !important;
  right: 24px !important;
  background: rgba(255, 255, 255, 0.85) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  border-radius: 0 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, background-color 0.2s ease !important;
}

/* Show when scrolled (controlled by JS) */
.link-block.is-visible {
  opacity: 1;
  visibility: visible;
}

/* Hover state */
.link-block:hover {
  background: rgba(255, 255, 255, 1) !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1) !important;
}

/* Arrow icon - smaller */
.link-block .image-3 {
  width: 16px !important;
  height: 16px !important;
  opacity: 0.6 !important;
  transition: opacity 0.2s ease !important;
}

.link-block:hover .image-3 {
  opacity: 0.85 !important;
}

/* Responsive adjustments */
@media screen and (max-width: 767px) {
  .link-block {
    width: 32px !important;
    height: 32px !important;
    bottom: 16px !important;
    right: 16px !important;
  }

  .link-block .image-3 {
    width: 14px !important;
    height: 14px !important;
  }
}

@media screen and (max-width: 479px) {
  .link-block {
    bottom: 12px !important;
    right: 12px !important;
  }
}

/* =========================================
   MOBILE MENU - INSTITUTIONAL
   ========================================= */

@media screen and (max-width: 991px) {
  /* Mobile menu background - beige instead of black */
  .navbar_links-wrap {
    background-color: #f8f7f3 !important;
    border: 1px solid #e5e5e5 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
  }

  /* Mobile menu links - dark text */
  .navbar_link-text {
    color: #333 !important;
  }

  .navbar_link-text._1,
  .navbar_link-text._2 {
    color: #333 !important;
  }

  /* Hover state for mobile links */
  .navbar_link:hover .navbar_link-text,
  .navbar_link:hover .navbar_link-text._1,
  .navbar_link:hover .navbar_link-text._2 {
    color: var(--_colors---hac-blue, #00adee) !important;
  }

  /* Active/current page link */
  .navbar_link.w--current .navbar_link-text,
  .navbar_link.w--current .navbar_link-text._1,
  .navbar_link.w--current .navbar_link-text._2 {
    color: var(--_colors---hac-blue, #00adee) !important;
  }

  /* Underline color */
  .navbar_underline {
    background-color: var(--_colors---hac-blue, #00adee) !important;
  }

  /* =========================================
     NAVBAR HEIGHT ALIGNMENT - HAMBURGER VERSION
     ========================================= */

  /* Keep consistent navbar padding with desktop */
  .navbar {
    padding-top: var(--fixed--1rem, 1rem) !important;
    padding-bottom: 0 !important;
  }

  /* Keep logo positioning consistent with desktop */
  .navbar_logo-wrap {
    top: -.5rem !important;
  }

  /* Ensure component alignment stays consistent */
  .navbar_component {
    align-items: center !important;
    min-height: auto !important;
  }
}

/* Additional navbar alignment for smaller breakpoint */
@media screen and (max-width: 767px) {
  .navbar {
    padding-top: var(--fixed--1rem, 1rem) !important;
    padding-bottom: 0 !important;
  }

  .navbar_logo-wrap {
    top: -.5rem !important;
  }
}

/* =========================================
   CUBE OVERLAY - "UNITS COMING ONLINE" EFFECT
   =========================================
   - Grid of brand-colored cubes over hero video
   - Cubes fade in/out like buildings lighting up
   - Subtle, institutional, ties brand to business
   ========================================= */

.cube-overlay {
  --cube-size: 45px;
  --cube-gap: 4px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  box-sizing: border-box;
  /* Grid layout is set dynamically via JS for precise centering with equal edge spacing */
  pointer-events: auto; /* Enable for hover glow and click-to-add features */
  z-index: 10; /* Above reveal-mask (z-index: 3) */
  overflow: hidden;
}

.cube-overlay .cube-cell {
  box-sizing: border-box;
  opacity: 0;
  /* Override Webflow's .hac-blue class which sets height: 5px */
  height: auto !important;
  overflow: visible !important;
  /* No CSS transition - opacity set directly via JS for performance */
}

/* Color variants - solid colors, opacity controlled via JS */
.cube-overlay .cube-cell.hac-blue {
  background-color: rgba(0, 173, 238, 0.85);
}

.cube-overlay .cube-cell.hac-green {
  background-color: rgba(190, 202, 184, 0.9);
}

.cube-overlay .cube-cell.hac-dark {
  background-color: rgba(51, 51, 51, 0.75);
}

.cube-overlay .cube-cell.hac-beige {
  background-color: rgba(248, 247, 243, 0.85);
}

/* Active state - cube is "on" with varying opacities set via inline style */
.cube-overlay .cube-cell.is-active {
  /* Opacity is set dynamically via JavaScript for variety (0.4 to 1.0) */
}

/* Subtle glow effect when active */
.cube-overlay .cube-cell.hac-blue.is-active {
  box-shadow: inset 0 0 15px rgba(0, 173, 238, 0.4);
}

.cube-overlay .cube-cell.hac-green.is-active {
  box-shadow: inset 0 0 15px rgba(190, 202, 184, 0.4);
}

.cube-overlay .cube-cell.hac-dark.is-active {
  box-shadow: inset 0 0 12px rgba(51, 51, 51, 0.3);
}

.cube-overlay .cube-cell.hac-beige.is-active {
  box-shadow: inset 0 0 15px rgba(248, 247, 243, 0.4);
}

/* Responsive cube sizing */
@media screen and (max-width: 991px) {
  .cube-overlay {
    --cube-size: 40px;
    --cube-gap: 3px;
  }
}

@media screen and (max-width: 767px) {
  .cube-overlay {
    --cube-size: 32px;
    --cube-gap: 3px;
  }
}

@media screen and (max-width: 479px) {
  .cube-overlay {
    --cube-size: 25px;
    --cube-gap: 2px;
  }
}

/* =========================================
   HERO MEDIA PLACEHOLDER
   For pages without video (leadership, contact, news)
   ========================================= */
.hero-media-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #f8f7f3 0%, #f0efe9 100%);
  z-index: 0;
}

/* =========================================
   VIDEO CAROUSEL SYSTEM
   Smooth transitions between multiple videos
   ========================================= */
.video-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  background: transparent; /* Ensure no background blocks videos */
  pointer-events: none; /* Allow mouse events to pass through to cube overlay */
}

.video-carousel .hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  z-index: 0;
  transform: scale(1);
  transform-origin: center center;
  pointer-events: none; /* Allow mouse events to pass through to cube overlay */
}

.video-carousel .hero-video.is-active {
  opacity: 1;
  z-index: 1;
}

/* Fading out - holds scale */
.video-carousel .hero-video.is-fading-out {
  opacity: 1; /* Stay visible initially */
  z-index: 1;
  transform: scale(1.08);
  animation: none;
}

/* Next video - ready to become active after reveal completes */
.video-carousel .hero-video.is-next {
  opacity: 0;
  z-index: 0;
  transform: scale(1);
  transition: none !important;
}

/* Ken Burns zoom animation */
@keyframes kenBurns {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.08);
  }
}

/* =========================================
   REVEAL MASK - Cube grid that covers next video
   Grey cells turn transparent to reveal next video underneath
   ========================================= */
.reveal-mask {
  --cube-size: 45px;
  --cube-gap: 4px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: none; /* Hidden by default, shown during transition */
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
}

.reveal-mask.is-active {
  display: grid;
  grid-template-columns: repeat(auto-fill, var(--cube-size));
  grid-auto-rows: var(--cube-size);
  gap: var(--cube-gap);
  padding: var(--cube-gap);
  align-content: start;
}

/* Cells are invisible - we use them only to track positions for the clip-path */
.reveal-mask-cell {
  width: var(--cube-size);
  height: var(--cube-size);
  background: transparent; /* Invisible - no visible grey */
  position: relative;
}

/* Video 2 positioned above video 1 but clipped to cell grid pattern */
.reveal-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2; /* Above video 1, below reveal-mask */
}

/* SVG clip path container - hidden but provides clip-path for video */
.reveal-clip-svg {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* Opacity overlay cells - darken some reveal squares for depth variation */
.reveal-cell-overlay {
  position: absolute;
  background: rgba(51, 51, 51, 1); /* Dark overlay */
  pointer-events: none;
  z-index: 4; /* Above the clipped video */
  transition: opacity 0.3s ease-out;
}

/* Responsive sizing to match cube overlay */
@media screen and (max-width: 991px) {
  .reveal-mask {
    --cube-size: 40px;
    --cube-gap: 3px;
  }
}

@media screen and (max-width: 767px) {
  .reveal-mask {
    --cube-size: 32px;
    --cube-gap: 3px;
  }
}

@media screen and (max-width: 479px) {
  .reveal-mask {
    --cube-size: 25px;
    --cube-gap: 2px;
  }
}

/* Progress indicator for video carousel */
.video-carousel-progress {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.video-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transition: background 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

.video-carousel-dot:hover {
  background: rgba(255, 255, 255, 0.6);
}

.video-carousel-dot.is-active {
  background: rgba(255, 255, 255, 0.9);
  transform: scale(1.25);
}

/* Video frame - static border around hero video */
.hero-video-frame {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 5;
}

/* Frame border using box-shadow for clean edges */
.hero-video-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.15);
}

/* Bottom accent line - split blue/green */
.hero-video-frame::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #00adee 0%, #00adee 72%, #becab8 72%, #becab8 100%);
}

/* =========================================
   NEWS PAGE
   =========================================
   - Press releases and announcements
   - Multiple templates for different content types
   - Toggle visibility via data-news-active attribute
   ========================================= */

/* News Hero - same structure as leadership/contact */
.news-hero {
  width: 100% !important;
}

.news-hero .news-media {
  width: 100% !important;
  height: 50vh !important;
  min-height: 350px !important;
  background: linear-gradient(135deg, #f8f7f3 0%, #f0efe9 100%) !important;
  position: relative !important;
  overflow: hidden !important;
}

.news-hero .news-media::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(rgba(0,173,238,0.12) 1.5px, transparent 1.5px),
    radial-gradient(rgba(190,202,184,0.2) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  background-position: 0 0, 12px 12px;
}

.news-hero .hero-content {
  background: #f8f7f3 !important;
  padding: 3rem !important;
}

.news-hero .hero-inner {
  max-width: 850px !important;
  text-align: left !important;
}

.news-hero .cube-accent.news-cubes {
  display: flex !important;
  justify-content: flex-start !important;
  margin: 0 0 1.5rem 0 !important;
}

.news-hero .hero-headline {
  margin-bottom: 1rem !important;
}

.news-hero .hero-tagline {
  max-width: 700px !important;
  margin: 0 !important;
}

/* News Section */
.section_news {
  background: #fff !important;
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}

.news_component {
  width: 100% !important;
}

.news_component .label_wrap {
  margin-bottom: 2.5rem !important;
}

/* News Grid */
.news-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 2rem !important;
}

/* Base News Item */
.news-item {
  background: #f8f7f3 !important;
  border: 1px solid #e5e5e5 !important;
  transition: box-shadow 0.3s ease, transform 0.2s ease !important;
}

.news-item:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
  transform: translateY(-2px) !important;
}

/* Featured News Item - with image */
.news-item-featured {
  display: grid !important;
  grid-template-columns: 1fr 1.5fr !important;
  gap: 0 !important;
}

.news-item-featured .news-item-image {
  position: relative !important;
  overflow: hidden !important;
  min-height: 250px !important;
}

.news-item-featured .news-item-image img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.5s ease !important;
}

.news-item-featured:hover .news-item-image img {
  transform: scale(1.03) !important;
}

/* Standard and Compact News Items */
.news-item-standard,
.news-item-compact,
.news-item-media {
  padding: 0 !important;
}

/* News Item Content */
.news-item-content {
  padding: 2rem !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 1rem !important;
}

/* News Meta */
.news-item-meta {
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
  flex-wrap: wrap !important;
}

.news-item-date {
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  color: #999 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
}

.news-item-category {
  font-size: 0.6875rem !important;
  font-weight: 600 !important;
  color: #fff !important;
  background: #333 !important;
  padding: 0.25rem 0.5rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
}

/* Category color variants */
.news-item[data-news-template="partner"] .news-item-category {
  background: var(--_colors---hac-blue, #00adee) !important;
}

.news-item[data-news-template="acquisition"] .news-item-category {
  background: #2d5a3d !important;
}

.news-item[data-news-template="milestone"] .news-item-category {
  background: #666 !important;
}

.news-item[data-news-template="media"] .news-item-category {
  background: #8b6914 !important;
}

/* News Title */
.news-item-title {
  font-size: 1.25rem !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  color: #333 !important;
  margin: 0 !important;
}

.news-item-featured .news-item-title {
  font-size: 1.5rem !important;
}

/* News Excerpt */
.news-item-excerpt {
  font-size: 0.9375rem !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
  color: #666 !important;
  margin: 0 !important;
}

/* News Link */
.news-item-link {
  display: inline-block !important;
  font-size: 0.6875rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: #333 !important;
  text-decoration: none !important;
  padding-top: 0.5rem !important;
  transition: color 0.2s ease !important;
}

.news-item-link:hover {
  color: var(--_colors---hac-blue, #00adee) !important;
}

.news-item-link::after {
  content: ' \2192' !important;
  transition: transform 0.2s ease !important;
}

/* Compact item - smaller padding */
.news-item-compact .news-item-content {
  padding: 1.5rem !important;
}

.news-item-compact .news-item-title {
  font-size: 1.125rem !important;
}

/* Media item - external link styling */
.news-item-media .news-item-category {
  background: #8b6914 !important;
}

/* News Page Responsive */
@media screen and (max-width: 991px) {
  .news-hero .news-media {
    height: 45vh !important;
    min-height: 300px !important;
  }

  .news-hero .hero-content {
    padding: 2.5rem !important;
  }

  .section_news {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }

  .news-item-featured {
    grid-template-columns: 1fr !important;
  }

  .news-item-featured .news-item-image {
    min-height: 200px !important;
  }
}

@media screen and (max-width: 767px) {
  .news-hero .news-media {
    height: 40vh !important;
    min-height: 280px !important;
  }

  .news-hero .hero-content {
    padding: 2rem 1.5rem !important;
  }

  .news-hero .cube-accent.news-cubes {
    margin-bottom: 1rem !important;
  }

  .section_news {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  .news-grid {
    gap: 1.5rem !important;
  }

  .news-item-content {
    padding: 1.5rem !important;
  }

  .news-item-title {
    font-size: 1.125rem !important;
  }

  .news-item-featured .news-item-title {
    font-size: 1.25rem !important;
  }
}

@media screen and (max-width: 479px) {
  .news-hero .news-media {
    height: 35vh !important;
    min-height: 250px !important;
  }

  .news-hero .hero-content {
    padding: 1.5rem 1.25rem !important;
  }

  .section_news {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }

  .news-grid {
    gap: 1rem !important;
  }

  .news-item-content {
    padding: 1.25rem !important;
  }

  .news-item-featured .news-item-image {
    min-height: 160px !important;
  }

  .news-item-meta {
    gap: 0.75rem !important;
  }
}

/* =========================================
   HIDDEN NAV LINKS
   ========================================= */
a[href="/#approach"],
a[href="/#platform"] {
  display: none !important;
}
