/* Consistent interaction detail across the company website. */
:root {
  scroll-padding-top: 6rem;
  --glow-cyan: rgba(115, 215, 209, 0.65);
  --glow-crimson: rgba(226, 35, 61, 0.55);
  --accent-cyan: #73d7d1;
  --accent-crimson: #ff5971;
}

a, button, input, textarea, summary, select {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible, select:focus-visible {
  outline: 3px solid #73d7d1;
  outline-offset: 3px;
  box-shadow: 0 0 16px rgba(115, 215, 209, 0.35);
}

/* Atmospheric canvas depth */
.unified-page #main, .services-page #main, .story-home, body {
  background:
    radial-gradient(ellipse 70% 50% at 90% 20%, rgba(0, 229, 204, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 10% 75%, rgba(226, 35, 61, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 70% 60% at 50% 15%, rgba(18, 60, 84, 0.45) 0%, transparent 70%),
    #041b2c !important;
}

/* Vibrant typography & colourplay */
h1 em, h2 em, .services-banner h1 em, .choose-hero h1 em, .utilities-spotlight h2 em, .about-home h2 em, .footer-invitation h2 em {
  background: linear-gradient(135deg, #a4eee5 0%, #4facfe 50%, #7bf0ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 20px rgba(115, 215, 209, 0.35));
  font-style: normal;
}

.hero-story-copy h1 em {
  background: linear-gradient(135deg, #ff758c 0%, #ff8ea3 45%, #7ef5eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 24px rgba(255, 117, 140, 0.4));
  font-style: normal;
}

.eyebrow {
  color: #ff5971 !important;
  letter-spacing: 0.15em;
  font-weight: 750;
  text-transform: uppercase;
  text-shadow: 0 0 16px rgba(255, 89, 113, 0.35);
}

.services-banner-content { position: relative; z-index: 2; }
.services-banner h1 { text-wrap: balance; }
.services-banner-content > p:last-child { max-width: 48rem; line-height: 1.75; }
.product-panel, .solution-story, .industry-tile, .expertise-card { scroll-margin-top: 6rem; }
.contact-details article, .credential-card, .client-logo-card { min-width: 0; }
.brand-footer a { text-underline-offset: 0.3rem; }
.brand-footer a:hover { text-decoration: underline; }

/* Navigation and links */
.site-header nav > a {
  position: relative;
  transition: color 0.22s ease, text-shadow 0.22s ease;
}
.site-header nav > a:hover {
  color: #ffffff !important;
  text-shadow: 0 0 14px rgba(115, 215, 209, 0.5);
}
.site-header nav > a[aria-current=page] {
  text-decoration: underline;
  text-decoration-color: #ff5971;
  text-underline-offset: 0.5rem;
  text-decoration-thickness: 2px;
}

.text-link {
  transition: color 0.22s ease, text-shadow 0.22s ease;
}
.text-link:hover {
  color: #73d7d1 !important;
  text-shadow: 0 0 12px rgba(115, 215, 209, 0.4);
}

/* Card surfaces and colour depth */
.expertise-card,
.intelligence-grid .expertise-card,
.catalog-card,
.sector-card,
.delivery-card,
.credential-card:not(.cmmi-card),
.working-principles article,
.about-strengths article,
.story-chapters article,
.industry-tile,
.capability-card,
.solution-story,
.journey-panel,
.choose-grid article {
  background: linear-gradient(145deg, rgba(16, 52, 77, 0.82) 0%, rgba(7, 30, 48, 0.95) 100%) !important;
  border: 1px solid rgba(82, 137, 171, 0.4) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 16px 36px -10px rgba(0, 0, 0, 0.45);
}

/* Buttons with jewel depth */
.button, .footer-cta, .nav-cta {
  background: linear-gradient(135deg, #e62842 0%, #b81429 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 140, 155, 0.35) !important;
  box-shadow: 0 6px 20px -3px rgba(226, 35, 61, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
  font-weight: 700;
  letter-spacing: 0.01em;
}

/* Smooth spring hover animations */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  /* Button transitions & hover */
  .button, .footer-cta, .nav-cta {
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1),
                background 0.25s ease,
                border-color 0.25s ease;
  }
  .button:hover, .footer-cta:hover, .nav-cta:hover {
    transform: translateY(-3px) scale(1.02);
    background: linear-gradient(135deg, #ff3350 0%, #cf1930 100%) !important;
    border-color: rgba(255, 150, 165, 0.55) !important;
    box-shadow: 0 12px 32px -4px rgba(226, 35, 61, 0.7),
                0 0 22px rgba(255, 94, 115, 0.45),
                inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
  }
  .button:active, .footer-cta:active, .nav-cta:active {
    transform: translateY(-1px) scale(0.99);
    box-shadow: 0 4px 14px rgba(226, 35, 61, 0.4) !important;
  }

  /* Micro-interactions: Arrow glide */
  .button span[aria-hidden="true"],
  .footer-cta span[aria-hidden="true"],
  .text-link span[aria-hidden="true"],
  .discover-update > a b,
  .utilities-usecases a b,
  .industry-tile a span[aria-hidden="true"] {
    display: inline-block;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .button:hover span[aria-hidden="true"],
  .footer-cta:hover span[aria-hidden="true"],
  .text-link:hover span[aria-hidden="true"],
  .discover-update > a:hover b {
    transform: translate(4px, -3px);
  }

  /* Cards & interactive modules */
  .expertise-card,
  .industry-tile,
  .client-logo-card,
  .contact-details article,
  .catalog-card,
  .capability-card,
  .credential-card,
  .solution-story,
  .choose-grid article,
  .about-strengths article,
  .story-chapters article,
  .working-principles article {
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s ease,
                box-shadow 0.32s cubic-bezier(0.16, 1, 0.3, 1),
                background 0.3s ease;
  }
  .expertise-card:hover,
  .industry-tile:hover,
  .contact-details article:hover,
  .catalog-card:hover,
  .capability-card:hover,
  .credential-card:hover,
  .solution-story:hover,
  .choose-grid article:hover,
  .about-strengths article:hover,
  .story-chapters article:hover,
  .working-principles article:hover {
    transform: translateY(-6px);
    border-color: rgba(115, 215, 209, 0.7) !important;
    box-shadow: 0 24px 48px -12px rgba(2, 26, 42, 0.95),
                0 0 32px -4px rgba(0, 229, 204, 0.25),
                inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
  }
  .client-logo-card:hover {
    transform: translateY(-5px);
    border-color: #73d7d1 !important;
    box-shadow: 0 20px 40px -10px rgba(2, 26, 42, 0.3),
                0 0 22px rgba(115, 215, 209, 0.3) !important;
  }

  /* Card icon micro-interactions */
  .expertise-icon, .choose-symbol, .industry-art svg, .visual-top svg {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                background 0.3s ease,
                color 0.3s ease,
                box-shadow 0.3s ease;
  }
  .expertise-card:hover .expertise-icon {
    transform: scale(1.1) rotate(2deg);
    background: #235c7c !important;
    color: #73d7d1 !important;
    box-shadow: 0 0 20px rgba(115, 215, 209, 0.4) !important;
  }
  .choose-grid article:hover .choose-symbol {
    transform: scale(1.1) rotate(2deg);
    border-color: #73d7d1 !important;
    box-shadow: 0 0 20px rgba(115, 215, 209, 0.4) !important;
    color: #ffffff !important;
  }
  .industry-tile:hover .industry-art svg {
    transform: scale(1.08);
    filter: drop-shadow(0 0 12px rgba(115, 215, 209, 0.4));
  }
  .product-panel:hover .visual-top svg {
    transform: scale(1.08);
    color: #73d7d1;
  }

  /* Filter buttons & shortcuts */
  .product-filters button,
  .industry-filters button,
  .solution-shortcuts a,
  .journey-controls button {
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.22s ease,
                background 0.22s ease,
                color 0.22s ease,
                box-shadow 0.22s ease;
  }
  .product-filters button:hover,
  .industry-filters button:hover,
  .solution-shortcuts a:hover,
  .journey-controls button:hover {
    transform: translateY(-2px);
    border-color: #73d7d1 !important;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35), 0 0 16px rgba(115, 215, 209, 0.3);
  }
}

/* Focus and input enhancements */
.contact-page input:focus, .contact-page textarea:focus, .contact-layout input:focus, .contact-layout textarea:focus {
  border-color: #73d7d1 !important;
  box-shadow: 0 0 0 3px rgba(115, 215, 209, 0.25), 0 0 16px rgba(115, 215, 209, 0.2) !important;
}
.resume-picker:focus-within { border-color: #73d7d1 !important; }
.product-content details[open], .contact-faq details[open] { border-color: #7aa3bb; }
summary { min-height: 44px; align-content: center; }
button { touch-action: manipulation; }

@media (max-width: 600px) {
  .services-banner-content { padding-block: 3.2rem; }
  .services-banner-content > p:last-child { font-size: 1rem; }
  .services-banner-image { object-position: 68% center; }
  .hero-film-tools { display: none !important; }
}

/* Prominent entry points to the updated product, solution and utility workspaces */
.discover-update {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding-block: 42px;
}
.discover-update > a {
  position: relative;
  padding: 28px 26px;
  border: 1px solid rgba(82, 137, 171, 0.4);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(17, 53, 75, 0.85) 0%, rgba(7, 29, 44, 0.95) 100%);
  color: #effaff;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 16px 36px -10px rgba(0, 0, 0, 0.4);
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .discover-update > a {
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s ease,
                box-shadow 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .discover-update > a:hover {
    transform: translateY(-6px);
    border-color: rgba(115, 215, 209, 0.75) !important;
    box-shadow: 0 24px 48px -12px rgba(2, 26, 42, 0.95),
                0 0 32px -4px rgba(0, 229, 204, 0.28),
                inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
  }
}
.discover-update span {
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  color: #7ef5eb;
  font-weight: 700;
}
.discover-update strong {
  display: block;
  font-size: 1.5rem;
  line-height: 1.25;
  margin: 16px 0;
}
.discover-update p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #b3ccd9;
  padding-right: 20px;
}
.discover-update b {
  position: absolute;
  bottom: 24px;
  right: 22px;
  color: #7ef5eb;
}
@media (max-width: 760px) {
  .discover-update { grid-template-columns: 1fr; padding-block: 24px; }
  .discover-update > a { padding: 24px; }
}

/* Utilities shortcuts and spotlight */
.site-header #main-nav .utilities-nav {
  color: #8be9e4;
  border: 1px solid #5fadae;
  border-radius: 8px;
  padding: 9px 12px;
  white-space: nowrap;
}
.site-header #main-nav .utilities-nav:hover {
  background: #164555;
  color: #fff;
}
.utilities-spotlight {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(25px, 5vw, 80px);
  padding-block: 75px;
}
.utilities-spotlight h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
  color: #eefaff;
}
.utilities-spotlight p, .utilities-banner p { color: #bbd1df; line-height: 1.75; }
.utilities-spotlight ul { padding-left: 20px; color: #d5edf2; line-height: 2; margin: 22px 0; }
.utilities-spotlight .button { margin-top: 12px; }

.utilities-usecases { display: grid; gap: 14px; }
.utilities-usecases a {
  display: block;
  padding: 24px;
  background: linear-gradient(120deg, #143b50, #092333);
  border: 1px solid #385c70;
  border-radius: 15px;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 12px 28px rgba(0, 0, 0, 0.35);
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .utilities-usecases a {
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.25s ease,
                box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .utilities-usecases a:hover {
    transform: translateY(-4px) translateX(3px);
    border-color: #73d7d1 !important;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.4), 0 0 20px rgba(115, 215, 209, 0.25) !important;
  }
}
.utilities-usecases span { display: block; color: #7ef5eb; font-size: 0.65rem; letter-spacing: 0.1em; font-weight: 700; }
.utilities-usecases strong { display: block; font-size: 1.25rem; color: #fff; margin: 12px 0; }
.utilities-usecases b { display: block; font-size: 0.8rem; color: #7ef5eb; margin-top: 14px; }
.utilities-usecases code { display: block; color: #d7eef6; font-size: 0.8rem; overflow-wrap: anywhere; }
.utilities-usecases p { font-size: 0.85rem; margin: 0; }

.utilities-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  border-top: 1px solid #36576a;
  padding-block: 42px;
  margin-block: 30px;
}
.utilities-banner h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); color: #edf9ff; margin: 10px 0; }
.utilities-banner p { max-width: 670px; font-size: 0.95rem; }
.utilities-banner .button { flex-shrink: 0; }

@media (max-width: 850px) {
  .utilities-spotlight { grid-template-columns: 1fr; padding-block: 40px; }
  .utilities-banner { flex-direction: column; align-items: flex-start; }
}

.utilities-shortcut {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex-shrink: 0;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid #71c5c5;
  border-radius: 12px;
  background: #143b50;
  color: #a3f3ed !important;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
}
.utilities-shortcut:hover {
  background: #22576a;
  box-shadow: 0 0 22px rgba(113, 223, 221, 0.35);
  border-color: #73d7d1;
}
.utilities-shortcut:focus-visible { outline: 3px solid #a3f3ed; outline-offset: 3px; }
@media (max-width: 75rem) { .utilities-shortcut { margin-left: auto; } }
@media (max-width: 440px) { .utilities-shortcut span { display: none; } }
.solution-film-left { margin: 25px 0 0; }
.solution-story-head .solution-film-left video { width: 100%; aspect-ratio: 16/9; }
.solution-story-head { min-width: 0; }

