/* React Bits Flowing Menu CSS retained, with scoped enterprise adaptation below. */
.flowing-menu {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.flowing-menu__list {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flowing-menu__item {
  position: relative;
  flex: 1 1 0;
  min-height: 56px;
  overflow: hidden;
  container-type: size;
}

.flowing-menu__divider {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: var(--flowing-menu-border, rgba(255, 255, 255, 0.14));
  transform-origin: left center;
  pointer-events: none;
}

.flowing-menu__link {
  position: relative;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  width: 100%;
  height: 100%;
  padding: 0 clamp(16px, 4cqw, 40px);
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  text-decoration: none;
  outline: none;
  cursor: pointer;
  transition: opacity 0.45s ease;
  -webkit-tap-highlight-color: transparent;
}

.flowing-menu[data-align='left'] .flowing-menu__link {
  grid-template-columns: auto 1fr auto;
}

.flowing-menu__item[data-dimmed] .flowing-menu__link {
  opacity: 0.32;
}

.flowing-menu__link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -4px;
}

.flowing-menu__index {
  justify-self: start;
  min-width: 1.6em;
  font-size: clamp(11px, 12cqh, 15px);
  font-variant-numeric: tabular-nums;
  opacity: 0.5;
}

.flowing-menu__label {
  display: flex;
  align-items: center;
  gap: 0.28em;
  justify-self: center;
  overflow: hidden;
  padding: 0.06em 0;
  font-size: clamp(16px, 40cqh, 140px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.035em;
  white-space: nowrap;
}

.flowing-menu[data-align='left'] .flowing-menu__label {
  justify-self: start;
}

.flowing-menu__label-text {
  display: block;
}

.flowing-menu__dot {
  display: block;
  width: 0.2em;
  height: 0.2em;
  flex-shrink: 0;
  border-radius: 999px;
  background: currentColor;
}

.flowing-menu__end {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 14px;
}

.flowing-menu__meta {
  font-size: clamp(11px, 12cqh, 15px);
  font-variant-numeric: tabular-nums;
  opacity: 0.5;
}

.flowing-menu__arrow {
  display: grid;
  place-items: center;
  opacity: 0.55;
}

.flowing-menu__band {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  visibility: hidden;
  pointer-events: none;
  clip-path: inset(50% 0 50% 0);
}

.flowing-menu__track {
  display: flex;
  align-items: center;
  width: max-content;
  height: 100%;
  will-change: transform;
}

.flowing-menu__part {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  height: 100%;
}

.flowing-menu__part-text {
  padding: 0 0.4em;
  font-size: clamp(14px, calc(38cqh * var(--flowing-menu-band, 1)), 130px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.025em;
  white-space: nowrap;
}

.flowing-menu__image {
  display: block;
  flex-shrink: 0;
  height: calc(56cqh * var(--flowing-menu-band, 1));
  aspect-ratio: 2.2 / 1;
  margin: 0 calc(3.5cqh * var(--flowing-menu-band, 1));
  border-radius: 999px;
  background-position: center;
  background-size: cover;
}

.flowing-menu[data-shape='rounded'] .flowing-menu__image {
  aspect-ratio: 3 / 2;
  border-radius: calc(10cqh * var(--flowing-menu-band, 1));
}

.flowing-menu[data-shape='circle'] .flowing-menu__image {
  aspect-ratio: 1;
  border-radius: 999px;
}

.flowing-menu__float {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  visibility: hidden;
  pointer-events: none;
  clip-path: inset(50% 0 50% 0);
}

.flowing-menu__float-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 25%;
  container-type: size;
  will-change: transform, opacity;
}

/* Footer placement and brand adaptation; existing dragon scene stays intact. */
.brand-footer .footer-flow-area{padding:5px 0 66px}
.footer-flow-heading{display:flex;justify-content:space-between;align-items:center;padding:0 0 24px;color:#4c7d94;font-size:12px}
.brand-footer .flowing-menu{position:relative;display:block;left:auto;right:auto;top:auto;width:100%;height:auto;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none;overflow:hidden;color:#125b79;--flowing-menu-border:#a9d6e5;}
.brand-footer .flowing-menu__list{height:auto;border-top:1px solid #a9d6e5;border-bottom:1px solid #a9d6e5}
.brand-footer .flowing-menu__item{height:102px;flex:0 0 102px;min-height:102px;container-type:size}
.brand-footer .flowing-menu__link{position:relative;display:grid;grid-template-columns:50px 1fr auto;align-items:center;width:100%;height:100%;gap:20px;padding:0 22px;font-size:inherit;border:0;background:none;color:inherit;transform:none;box-shadow:none}
.brand-footer .flowing-menu__link:before,.brand-footer .flowing-menu__link:after{display:none}
.brand-footer .flowing-menu__link>span{display:flex}
.brand-footer .flowing-menu__index{font-family:'Funnel Display',sans-serif;font-size:13px;font-weight:500}
.brand-footer .flowing-menu__label{font-size:35px;font-weight:600;letter-spacing:.015em;line-height:1.4}
.brand-footer .flowing-menu__meta{font-size:12px;opacity:.7;letter-spacing:.07em}
.brand-footer .flowing-menu__arrow{font-size:25px;opacity:.85}
.brand-footer .flowing-menu__band{background:linear-gradient(115deg,#007dad,#039ed2);color:#fff;}
.brand-footer .flowing-menu__part-text{font-size:34px;font-weight:600;padding:0 .65em;letter-spacing:.02em}
.brand-footer .flowing-menu__image{height:70px;width:115px;aspect-ratio:auto;background-size:contain;background-repeat:no-repeat;background-color:#fff;border-radius:40px;margin:0 12px;box-shadow:inset 0 0 0 6px #fff}
.brand-footer .flowing-menu__item:focus-within:after{content:'';position:absolute;inset:2px;border:2px solid #0077a5;pointer-events:none;z-index:3;border-radius:3px}
.brand-footer .brand-footer-details{grid-template-columns:1fr auto;align-items:start}
.footer-auxiliary{display:flex;align-items:center;gap:35px;flex-wrap:wrap;padding:3px 0;font-size:13px;color:#217496}
.footer-auxiliary a{padding:8px 0;border-bottom:1px solid #8dc8df;transition:color .25s,border-color .25s}
.footer-auxiliary a:hover,.footer-auxiliary a:focus-visible{color:#004d75;border-color:#004d75}
@media(max-width:760px){.brand-footer .footer-flow-area{padding:0 0 40px}.footer-flow-heading{padding-bottom:18px;font-size:10px;gap:20px}.footer-flow-heading>span:last-child{max-width:140px;text-align:right;line-height:1.8}.brand-footer .flowing-menu__item{height:84px;min-height:84px;flex-basis:84px}.brand-footer .flowing-menu__link{grid-template-columns:24px 1fr auto;gap:10px;padding:0 8px}.brand-footer .flowing-menu__label{font-size:23px;font-weight:600}.brand-footer .flowing-menu__index{font-size:10px}.brand-footer .flowing-menu__meta{display:none}.brand-footer .flowing-menu__arrow{font-size:21px}.brand-footer .flowing-menu__part-text{font-size:24px}.brand-footer .flowing-menu__image{height:54px;width:85px;margin:0 8px}.brand-footer .brand-footer-details{grid-template-columns:1fr;gap:15px}.footer-auxiliary{gap:25px;font-size:12px}}
@media(prefers-reduced-motion:reduce){.brand-footer .flowing-menu__track{will-change:auto}.brand-footer .flowing-menu__link{transition:none}}
