/* UK HealthCare landing — tokens from Figma export */
:root {
  --uk-primary: #0033a0;
  --uk-sidebar: #204ca5;
  --uk-section: #3b5fad;
  --uk-teal: #00a18e;
  --uk-gray-bg: #efefef;
  --uk-text-muted: #a8a8a8;
  --uk-font: "Nunito Sans", "Segoe UI", system-ui, sans-serif;
  --uk-font-display: "Nunito Sans", "Segoe UI", system-ui, sans-serif;
  --uk-font-quote: Georgia, "Times New Roman", serif;
}

body {
  font-family: var(--uk-font);
  color: #212529;
}

.pt-nav {
  padding-top: 77px;
}

.text-uk-primary {
  color: var(--uk-primary) !important;
}

.bg-uk-primary {
  background-color: var(--uk-primary) !important;
}

.bg-uk-sidebar {
  background-color: var(--uk-sidebar) !important;
}

.bg-uk-section {
  background-color: var(--uk-section) !important;
}

.bg-uk-gray {
  background-color: var(--uk-gray-bg) !important;
}

.meet-anchor {
  display: block;
  height: 40px;
}

.fw-uk-bold {
  font-weight: 700 !important;
}

.fs-4 {
  font-size: 1.5rem !important;
}

/* Nav */
.navbar-uk {
  background-color: var(--uk-primary);
  min-height: 77px;
}

.navbar-uk .navbar-brand-logo {
  width: auto;
  height: 52px;
}

@media (min-width: 576px) {
  .fs-4 {
    font-size: 2rem !important;
  }

  .navbar-uk .navbar-brand-logo {
    height: 45px;
  }
}

@media (max-width: 575.98px) {
  .navbar-uk .navbar-brand-logo {
    height: 35px;
  }

  .footer-legal {
    font-size: 0.6rem;
  }
}

.navbar-uk .nav-link,
.navbar-uk .navbar-text {
  color: #fff !important;
}

.navbar-uk .btn-link {
  color: #fff;
  text-decoration: none;
  font-size: 1.5rem;
}

.navbar-uk .offcanvas {
  --bs-offcanvas-width: min(320px, 88vw);
  background-color: var(--uk-primary);
}

.navbar-uk .dropdown .btn {
  font-size: 1rem;
}

.navbar-uk .dropdown-menu {
  background-color: var(--uk-primary);
  border: none;
  box-shadow: none;
}

.navbar-uk .dropdown-item {
  color: #ffffff;
}

.navbar-uk .dropdown-item:hover,
.navbar-uk .dropdown-item:focus,
.navbar-uk .dropdown-item:active {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.14);
}

/* Hero */
.hero-wrap {
  position: relative;
  min-height: 684px;
  overflow: hidden;
  background: linear-gradient(135deg, #1a3a7a 0%, #0d2850 100%);
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-video-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
}

.hero-video-embed {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.78vh;
  height: 56.25vw;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  border: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-headline {
  font-family: var(--uk-font-display);
  font-size: clamp(2.25rem, 5vw, 4.75rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.mission-fill-copy > span {
  -webkit-background-clip: text;
  background-clip: text;
  background-color: transparent;
  background-image: linear-gradient(
    135deg,
    var(--uk-primary) 50%,
    transparent 60%
  );
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: 0% 200%;
  color: transparent;
  will-change: background-size;
}

.btn-uk-cta {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--uk-primary);
  --bs-btn-border-color: var(--uk-primary);
  --bs-btn-hover-bg: #00257a;
  --bs-btn-hover-border-color: #00257a;
  border-radius: 4px;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  padding: 0.75rem 1.25rem;
}

.story-split-card {
  position: relative;
  min-height: 270px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
  isolation: isolate;
}

.story-split-card-lg {
  min-height: 564px;
}

.story-split-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: inherit;
  background-position: center center, var(--story-split-position, center);
  background-size: cover, cover;
  background-repeat: no-repeat, no-repeat;
  transform-origin: center center;
  transform: scale(1);
  transition: transform 1s ease;
}

.story-split-card:hover::before,
.story-split-card:focus-visible::before {
  transform: scale(1.1);
}

#story-split-primary {
  --story-split-position: top center;
}

#story-split-secondary {
  --story-split-position: center -90px;
}

.story-split-content {
  position: absolute;
  inset: auto 1.25rem 1.1rem 1.25rem;
  z-index: 1;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.story-split-title {
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1.08;
  text-transform: uppercase;
}

.story-split-title-sm {
  font-size: clamp(1.1rem, 2vw, 1.8rem);
  line-height: 1.15;
  text-transform: uppercase;
}

.story-split-arrow {
  display: block;
}

/* Story & feature cards */
.card-story {
  border: none;
  border-radius: 24px;
  min-height: 420px;
  overflow: hidden;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  position: relative;
  text-decoration: none;
}

.card-story::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 42%, rgba(0, 0, 0, 0.72) 100%);
}

.card-story-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-position: center, center, center;
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-size: cover, cover, auto;
  transform-origin: center center;
  transition: transform 1s ease;
}

.card-story:hover .card-story-bg,
.card-story:focus-visible .card-story-bg {
  transform: scale(1.1);
}

.card-story .card-body {
  position: relative;
  z-index: 1;
  min-height: 420px;
}

.card-story-title {
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  text-transform: uppercase;
  line-height: 1.15;
  display: inline-block;
  background: rgba(0, 0, 0, 0.5);
  padding: 0.25em 0.35em;
  border-radius: 0.2em;
}

.card-story-title span {
  color: #fff;
  text-shadow: none;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  text-transform: uppercase;
}

.connect-panel {
  background-color: var(--uk-primary);
  border-radius: 24px;
}

.connect-panel-pad {
  padding-top: 8rem !important;
  padding-bottom: 8rem !important;
}

.social-icons a {
  display: inline-flex;
  color: #fff;
  opacity: 0.95;
  transition: opacity 0.15s ease;
}

.social-icons a i {
  font-size: 30px;
  line-height: 1;
  transform: scale(1);
  transition: transform 0.2s ease;
}

.social-icons a:hover {
  opacity: 1;
}

.social-icons a:hover i {
  transform: scale(1.08);
}

.quote-lead {
  font-family: var(--uk-font-quote);
  font-style: italic;
}

.stats-cluster img,
.stats-cluster svg {
  max-width: 100%;
  height: auto;
}

.recognition-marquee {
  overflow-x: clip;
  white-space: nowrap;
  position: relative;
  width: 100%;
}

.recognition-marquee::before,
.recognition-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 22%;
  z-index: 2;
  pointer-events: none;
}

.recognition-marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--uk-section), rgba(59, 95, 173, 0));
}

.recognition-marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--uk-section), rgba(59, 95, 173, 0));
}

.recognition-marquee-inner {
  display: flex;
  align-items: flex-start;
  gap: 2vw;
  padding: 3rem 0;
  margin-left: 11.75vw;
  will-change: transform;
}

.recognition-slide {
  width: 35.5vw;
  min-width: 260px;
  max-width: 520px;
  flex-shrink: 0;
  border-radius: 1.25rem;
  overflow: hidden;
}

.recognition-slide img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: top;
  transition: transform 1s ease;
}

.recognition-slide:hover img {
  transform: scale(1.03);
}

.carousel-andy .carousel-item img {
  border-radius: 24px;
  object-fit: cover;
  width: 100%;
  max-height: 520px;
}

.carousel-indicators-andy {
  position: static;
  margin-top: 1rem;
  margin-bottom: 0;
}

.carousel-indicators-andy [data-bs-target] {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #d9d9d9;
  opacity: 0.5;
  border: none;
}

.carousel-indicators-andy .active {
  width: 28px;
  border-radius: 32px;
  background-color: #fff;
  opacity: 1;
}

.carousel-andy .carousel-control-prev,
.carousel-andy .carousel-control-next {
  width: 3rem;
  height: 3rem;
  top: 42%;
  opacity: 1;
}

.carousel-andy .carousel-control-prev {
  left: 0.75rem;
}

.carousel-andy .carousel-control-next {
  right: 0.75rem;
}

.carousel-andy .carousel-control-prev-icon,
.carousel-andy .carousel-control-next-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background-color: #fff;
  background-size: 45% 45%;
  filter: none;
  opacity: 1;
}

.carousel-andy .carousel-control-prev-icon {
  opacity: 0.65;
}

.spotlight-card img {
  border-radius: 24px;
  box-shadow: 0 4px 36px rgba(0, 0, 0, 0.1);
}

.cd-sections-wrap {
  position: relative;
  height: calc(100vh - 77px);
  overflow: hidden;
}

.cd-sections-wrap .cd-section {
  position: absolute;
  inset: 0;
  min-height: auto;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6%);
}

.cd-sections-wrap .cd-section .container {
  padding-top: 140px;
  padding-bottom: 140px;
}

.js-spotlight-image,
.js-spotlight-text {
  will-change: transform, opacity;
}

.cd-sections-wrap .cd-section.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.spotlight-scroll-hint {
  position: absolute;
  left: 50%;
  top: 1.35rem;
  transform: translateX(-50%);
  color: rgba(0, 51, 160, 0.85);
  font-size: 2.1rem;
  line-height: 1;
  pointer-events: none;
  z-index: 20;
  animation: spotlightHintBounce 1.6s ease-in-out infinite;
  transition: opacity 0.35s ease;
}

@keyframes spotlightHintBounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(6px);
  }
}

.footer-strip {
  background-color: var(--uk-primary);
}

.footer-notice {
  background: #efefef;
  color: #333;
  font-size: 0.72rem;
  padding: 0.5rem 1rem;
  letter-spacing: 0.01em;
}

.footer-notice a {
  color: #2e4f86;
}

.footer-columns {
  max-width: 860px;
  margin: 0 auto;
}

.footer-heading {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  font-weight: 700;
}

.footer-links li {
  margin-bottom: 0.2rem;
}

.footer-links a,
.footer-contact a,
.footer-legal a {
  color: #fff;
  text-underline-offset: 2px;
}

.footer-links a,
.footer-contact,
.footer-legal,
.footer-follow {
  font-size: 0.84rem;
  line-height: 1.45;
}

.footer-follow {
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  margin-top: 0.8rem;
}

.footer-social a {
  width: 26px;
  height: 26px;
  border-radius: 3px;
  background: #fff;
  color: var(--uk-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.footer-social a i {
  font-size: 0.92rem;
  line-height: 1;
}

.footer-legal {
  font-size: 1rem;
  color: #fff;
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  line-height: 1.4;
}

.footer-legal li + li::before {
  content: "|";
  margin-right: 0.35rem;
  opacity: 0.7;
}

.footer-legal a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
  border-radius: 2px;
}

.footer-scrolltop {
  position: absolute;
  right: 0.5rem;
  bottom: 0.5rem;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.footer-scrolltop small {
  font-size: 0.45rem;
  text-align: center;
  margin-top: 0.1rem;
}

@media (max-width: 991.98px) {
  .footer-scrolltop {
    position: static;
    margin-top: 1rem;
  }
}

@media (min-width: 992px) {
  .card-story .card-body {
    min-height: 744px;
  }

  .card-story {
    min-height: 744px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mission-fill-copy > span {
    background-size: 200% 200%;
  }
}

/* Skip link */
.skip-link:focus,
.skip-link:focus-visible {
  position: fixed;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 1080;
  padding: 0.5rem 0.75rem;
  background: var(--uk-primary);
  color: #fff;
  text-decoration: underline;
  border-radius: 0.25rem;
  outline: 3px solid #fff;
  outline-offset: 2px;
}

/* Visible focus indicators */
.navbar-toggler:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
  box-shadow: none;
}

.navbar-uk .navbar-brand:focus-visible,
.navbar-uk .offcanvas .nav-link:focus-visible,
.navbar-uk .offcanvas .btn-close:focus-visible {
  outline: 3px solid #ffd700;
  outline-offset: 3px;
  border-radius: 0.25rem;
}

.navbar-uk .offcanvas .nav-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.story-split-card:focus-visible,
.card-story:focus-visible,
.card-story-alt:focus-visible {
  outline: 3px solid #ffd700;
  outline-offset: 3px;
}

/* Inline link on dark backgrounds (e.g., body copy on .bg-uk-sidebar) */
.inline-link-on-dark {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}
.inline-link-on-dark:hover,
.inline-link-on-dark:focus {
  color: #ffd700;
  text-decoration-thickness: 2px;
}
.inline-link-on-dark:focus-visible {
  outline: 2px solid #ffd700;
  outline-offset: 2px;
  border-radius: 2px;
}

/* Social icon tap targets */
.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0.25rem;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  border-radius: 50%;
  text-decoration: none;
}
.social-icons a:hover,
.social-icons a:focus {
  color: #ffd700;
}
.social-icons a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

/* Hero video pause/play toggle */
.hero-video-toggle {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  z-index: 2;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.hero-video-toggle:hover,
.hero-video-toggle:focus {
  background: rgba(0, 0, 0, 0.75);
}

.hero-video-toggle:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}
