/* Huatong blue-green brand skin. Layout, content, and page behavior remain unchanged. */
:root {
  --color-primary: #00adef;
  --color-primary-hover: #00759d;
  --brand-gradient-deep: #005d7e;
  --brand-gradient-gold: #00adef;
  --brand-gradient-cream: #00a650;
  --color-page: #f3f7f8;
  --color-header: #ffffff;
  --color-panel: #ffffff;
  --color-panel-muted: #eaf7fb;
  --color-dropdown: #ffffff;
  --color-mobile: #005d7e;
  --color-text: #172327;
  --color-text-muted: #536268;
  --color-border: #d7e2e5;
  --color-shadow: rgba(23, 35, 39, 0.14);
  --color-success: #007d3c;
  --color-error: #b42318;
  --color-warning: #8a5a00;
  --gradient-text: linear-gradient(90deg, #005d7e 0%, #00adef 58%, #007d3c 100%);
  --shadow-dropdown: 0 12px 28px rgba(23, 35, 39, 0.14);
}

body,
.page-main {
  background: var(--color-page);
  color: var(--color-text);
}

:where(a, button, input, textarea, summary):focus-visible {
  outline: 2px solid #00759d;
  outline-offset: 3px;
}

.home-loader__panel {
  background: #005d7e;
}

.home-loader__wordmark {
  color: #ffffff;
}

.site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #d7e2e5;
  box-shadow: 0 8px 22px rgba(23, 35, 39, 0.08);
}

.site-logo__mark {
  overflow: hidden;
  background: #ffffff;
}

.site-logo__line,
.site-footer__brandmark-line {
  background: linear-gradient(
    90deg,
    rgba(0, 93, 126, 0.12) 0%,
    rgba(0, 173, 239, 0.92) 28%,
    rgba(0, 166, 80, 0.92) 72%,
    rgba(0, 125, 60, 0.12) 100%
  );
}

.site-nav__link,
.site-nav__cta {
  color: #172327;
}

.site-nav__dropdown {
  border: 1px solid #d7e2e5;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(23, 35, 39, 0.14);
}

.site-nav__dropdown-link {
  color: #172327;
}

.site-nav__dropdown-link:hover {
  background: #eaf7fb;
  color: #005d7e;
}

.mobile-nav {
  background: #005d7e;
}

.mobile-nav__link,
.mobile-nav__group-toggle,
.mobile-nav__meta {
  color: #ffffff;
}

.mobile-nav__link--button,
.mobile-nav__social-link,
.mobile-nav__sublink--overview {
  color: #7de0ae;
}

.mobile-nav-toggle {
  z-index: 2;
}

.mobile-nav-toggle span {
  background: #005d7e;
}

.section-kicker,
.service-feature__tag,
.text-link,
.portfolio-card__cta {
  color: #00759d;
}

.button--primary,
.button--submit {
  background: #005d7e;
  color: #ffffff;
}

.button--primary:hover,
.button--submit:hover {
  background: #00759d;
}

.button--secondary {
  border-color: rgba(0, 117, 157, 0.45);
  color: #005d7e;
}

.button--secondary:hover {
  background: #eaf7fb;
}

.back-to-top {
  border-color: rgba(255, 255, 255, 0.4);
  background: #00a650;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
}

.back-to-top.is-visible:hover {
  background: #007d3c;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
}

.site-form__field span,
.service-newsletter__field-label {
  color: #172327;
}

.site-form input,
.site-form textarea,
.service-newsletter__field input {
  border: 1px solid #d7e2e5;
  background: #ffffff;
  color: #172327;
}

.site-form input::placeholder,
.site-form textarea::placeholder,
.service-newsletter__field input::placeholder {
  color: #7a898e;
}

.site-form input:focus,
.site-form textarea:focus,
.service-newsletter__field input:focus {
  border-color: #00759d;
  background: #f8fcfd;
  box-shadow: 0 0 0 3px rgba(0, 117, 157, 0.12);
}

.site-form__note,
.service-newsletter__message,
.contact-layout__form-intro p {
  color: #536268;
}

.site-form.is-error .site-form__message {
  color: var(--color-error);
}

.site-form.is-success .site-form__message {
  color: var(--color-success);
}

/* Approved homepage skin. */
.home-hero h1 {
  background: linear-gradient(90deg, #ffffff 0%, #00adef 68%, #7de0ae 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.home-hero__image {
  object-position: center center;
}

.home-hero__shade {
  background: rgba(9, 28, 35, 0.5);
}

.home-hero__copy {
  color: #ffffff;
}

.narrative-block {
  background: #eaf7fb;
}

.narrative-block__text {
  color: #172327;
  text-shadow: none;
}

.values-stage,
.marquee-section,
.contact-preview {
  background: #ffffff;
}

.values-stage__lede,
.values-stage__panel-copy p {
  color: #536268;
}

.values-stage__panel-card {
  border: 1px solid #d7e2e5;
  background: #f3f7f8;
  box-shadow: 0 18px 42px rgba(23, 35, 39, 0.08);
}

.marquee-overlay::before {
  background: rgba(0, 93, 126, 0.42);
}

.marquee-overlay__card p {
  color: rgba(255, 255, 255, 0.88);
}

.marquee-overlay__card h2,
.portfolio-detail-hero h1 {
  background: linear-gradient(90deg, #ffffff 0%, #b9f3d4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.horizontal-showcase {
  background: #f3f7f8;
}

.testimonial-panel {
  border: 1px solid #d7e2e5;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(23, 35, 39, 0.08);
}

.testimonial-panel__quote,
.testimonial-panel__footer h3 {
  color: #172327;
}

.testimonial-panel__footer {
  border-top-color: #d7e2e5;
}

/* Standard content pages. */
.page-about .page-hero,
.page-about .split-story,
.page-portfolio .page-hero--simple,
.page-press .page-hero--simple,
.page-service-detail .page-hero,
.page-contact .contact-layout,
.page-aux .page-hero,
.page-redirect .page-hero {
  background: #ffffff;
}

.page-about .editorial-block,
.page-about .faq-section,
.portfolio-grid-section,
.press-list-section,
.contact-cards,
.service-detail-intro,
.portfolio-detail-intro,
.portfolio-gallery {
  background: #f3f7f8;
}

.page-about .leadership,
.cta-panel,
.portfolio-case,
.notice-section {
  background: #eaf7fb;
}

.page-about .page-hero .section-lede,
.page-about .page-hero .section-lede.section-lede--rich,
.page-about .editorial-block__copy p,
.page-about .split-story__content p,
.page-about .featured-leader__copy,
.page-about .person-card__copy,
.page-about .faq-item__answer p,
.editorial-block__copy p,
.split-story__content p,
.story-band__content p,
.portfolio-case__content p,
.notice-panel p,
.service-detail-intro__copy,
.portfolio-card__summary,
.press-card__date,
.contact-card__content p,
.portfolio-detail-intro__copy p,
.portfolio-detail-intro__lead,
.portfolio-case__summary,
.portfolio-detail-intro__copy,
.portfolio-detail-intro__lead {
  color: #536268;
}

.page-about .page-hero .section-lede.section-lede--rich strong {
  color: #172327;
}

[data-image-reveal],
.service-narrative__frame,
.service-story-hero__frame,
.service-roadmap__phase-frame,
.service-products__card-frame {
  box-shadow: 0 18px 42px rgba(23, 35, 39, 0.1);
}

.featured-leader,
.person-card,
.portfolio-card,
.press-card,
.contact-card,
.metric-item,
.notice-panel,
.faq-item,
.service-roadmap__phase-card,
.service-impact__card,
.service-products__card,
.service-partners__card,
.service-ecosystem__panel,
.service-contact-band__form,
.service-partners__logo-card {
  border: 1px solid #d7e2e5;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(23, 35, 39, 0.06);
}

.portfolio-card,
.press-card,
.contact-card,
.metric-item,
.faq-item,
.service-impact__card,
.service-products__card,
.service-partners__card,
.service-partners__logo-card {
  border-radius: 8px;
}

.featured-leader__role,
.person-card__role,
.page-about .featured-leader__role,
.page-about .leader-grid--leadership .person-card__role,
.page-about .person-card--compact .person-card__role {
  color: #536268;
}

.page-about .person-card--compact {
  border: 1px solid #d7e2e5;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(23, 35, 39, 0.06);
}

.page-about .person-card--compact:hover {
  border-color: rgba(0, 117, 157, 0.38);
  box-shadow: 0 14px 30px rgba(23, 35, 39, 0.09);
}

.person-card__media,
.portfolio-card__media,
.service-narrative__frame,
.service-story-hero__frame,
.service-roadmap__phase-frame,
.service-products__card-frame,
.portfolio-detail-feature__frame,
.portfolio-gallery__item {
  background: #e7eff1;
}

.portfolio-card:hover,
.press-card:hover,
.service-partners__card:hover,
.service-partners__logo-card:hover {
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(23, 35, 39, 0.1);
}

.press-card::before {
  background: linear-gradient(105deg, rgba(0, 117, 157, 0.34), rgba(215, 226, 229, 0.7) 24% 76%, rgba(0, 166, 80, 0.3)) border-box;
}

.press-card::after {
  display: none;
}

.page-about .about-honors__item::before {
  background: #00a650;
  box-shadow: 0 0 0 5px rgba(0, 166, 80, 0.12);
}

.page-about .about-honors__text {
  color: #536268;
}

.about-partners__stat,
.about-partner-grid,
.about-partner-grid__item,
.about-partner-grid__surface {
  border-color: #d7e2e5;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(23, 35, 39, 0.06);
}

.about-partner-grid {
  background: #f3f7f8;
}

.about-partner-grid__glow,
.about-partner-grid__surface::before {
  display: block;
}

.about-partner-grid__item {
  --about-partner-glow-opacity: 0.78;
  --about-partner-glow-scale: 1.03;
  --about-partner-glow-left: rgba(0, 173, 239, 0.34);
  --about-partner-glow-right: rgba(0, 166, 80, 0.86);
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(23, 35, 39, 0.08);
}

.about-partner-grid__glow {
  background: #ffffff;
}

.about-partner-grid__glow::before {
  filter: blur(7px);
}

.about-partner-grid__glow::after {
  border-color: rgba(0, 117, 157, 0.18);
}

.about-partner-grid__surface::before {
  background: #ffffff;
  box-shadow:
    inset 0 0 0 1px rgba(215, 226, 229, 0.72),
    inset 0 12px 20px rgba(234, 247, 251, 0.46);
}

.about-hero-carousel__stage:focus-visible,
.about-hero-carousel__dot:focus-visible {
  outline-color: #00adef;
}

.about-hero-carousel__dot.is-active span {
  background: #00adef;
}

.page-about .elevator-comparison,
.page-about .elevator-comparison__stage {
  background: #e7eff1;
}

.page-about .elevator-comparison__label {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(0, 93, 126, 0.88);
  color: #ffffff;
}

.page-about .elevator-comparison__label--after {
  border-color: rgba(125, 224, 174, 0.72);
  background: rgba(0, 125, 60, 0.9);
}

.page-about .elevator-comparison__scan::after {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(125, 224, 174, 0.96) 12%, #00adef 50%, rgba(125, 224, 174, 0.96) 88%, rgba(255, 255, 255, 0));
  box-shadow: 0 0 9px rgba(125, 224, 174, 0.8), 0 0 26px rgba(0, 173, 239, 0.5);
}

.page-about .faq-item[open] {
  background: #eaf7fb;
}

.page-about .faq-item:focus-within {
  border-color: #00759d;
}

.page-about .faq-list {
  gap: 12px;
}

.page-about .faq-item {
  border: 1px solid #d7e2e5;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(23, 35, 39, 0.05);
  color: #172327;
}

.page-about .faq-item:hover {
  border-color: rgba(0, 117, 157, 0.45);
  background: #f3f7f8;
}

.page-about .faq-item[open] {
  border-color: rgba(0, 117, 157, 0.42);
  background: #eaf7fb;
  color: #172327;
}

.page-about .faq-item summary {
  padding: 22px 60px 22px 24px;
  color: #172327;
  font-family: var(--font-interface);
  font-size: 17px;
  line-height: 1.5;
}

.page-about .faq-item summary::after {
  right: 24px;
  border-color: #00759d;
}

.page-about .faq-item__answer {
  padding: 0 24px 22px;
}

.page-about .faq-item__answer p {
  color: #536268;
  font-size: 15px;
  line-height: 1.72;
}

.page-about .faq-item:focus-within {
  border-color: #00759d;
  box-shadow: 0 0 0 3px rgba(0, 117, 157, 0.14);
}

.page-about .page-main {
  overflow-x: clip;
}

/* Service overview and legacy service routes. */
.services-hero-band,
.service-story-hero,
.service-narrative {
  background: #ffffff;
}

.services-intro,
.service-roadmap,
.service-ecosystem,
.service-partners,
.service-newsletter,
.service-narrative--tone-muted {
  background: #f3f7f8;
}

.service-impact,
.service-products,
.service-contact-band {
  background: #eaf7fb;
}

.services-hero-band__label,
.services-intro__lead,
.service-narrative__kicker,
.service-narrative__copy,
.service-roadmap__phase-copy p:last-child,
.service-impact__card p:last-child,
.service-ecosystem__panel p,
.service-products__spotlight p,
.service-products__card p:last-child,
.service-partners__card p:last-child,
.service-contact-band__note,
.service-ecosystem__points li {
  color: #536268;
}

.service-narrative__highlights li,
.service-story-nav__link,
.service-roadmap__phase-node,
.service-ecosystem__tab {
  border: 1px solid #d7e2e5;
  background: #ffffff;
  color: #536268;
}

.service-story-nav__link:hover,
.service-ecosystem__tab:hover {
  border-color: rgba(0, 117, 157, 0.45);
  color: #005d7e;
}

.service-story-nav__link.is-current,
.service-ecosystem__tab.is-active {
  border-color: rgba(0, 117, 157, 0.45);
  background: #eaf7fb;
  color: #005d7e;
}

.service-roadmap__track::before {
  background: #d7e2e5;
}

.service-roadmap__track::after {
  background: #00adef;
  box-shadow: 0 0 0 6px rgba(0, 173, 239, 0.12);
}

.service-roadmap__phase.is-active .service-roadmap__phase-node {
  border-color: #005d7e;
  background: #005d7e;
  color: #ffffff;
  box-shadow: 0 0 0 6px rgba(0, 117, 157, 0.14);
}

.service-roadmap__phase.is-active .service-roadmap__phase-card {
  border-color: rgba(0, 117, 157, 0.4);
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(23, 35, 39, 0.1);
}

.service-products__spotlight,
.service-products__diagram,
.service-newsletter__grid,
.cta-panel__inner {
  border: 1px solid #d7e2e5;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(23, 35, 39, 0.06);
}

.service-impact__display {
  border-color: #d7e2e5;
}

/* Contact, portfolio, and editorial states. */
.page-contact .contact-layout__visual {
  background: #e7eff1;
  box-shadow: inset 0 0 0 1px #d7e2e5, 0 24px 54px rgba(23, 35, 39, 0.12);
}

.page-contact .contact-layout__visual::after {
  background: rgba(0, 93, 126, 0.04);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.32);
}

.contact-card__link {
  color: #005d7e;
  text-decoration-color: rgba(0, 117, 157, 0.45);
}

.page-contact .contact-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: transparent;
}

.page-contact .contact-card::before,
.page-contact .contact-card::after {
  content: '';
  position: absolute;
  pointer-events: none;
}

.page-contact .contact-card::before {
  z-index: 0;
  inset: -82%;
  background: conic-gradient(
    from 30deg,
    transparent 0deg,
    transparent 138deg,
    rgba(0, 173, 239, 0.26) 158deg,
    rgba(0, 166, 80, 0.92) 180deg,
    rgba(0, 173, 239, 0.34) 202deg,
    transparent 222deg,
    transparent 360deg
  );
  animation: contact-card-flow 10.8s linear infinite;
  animation-delay: calc(var(--contact-card-order, 0) * -1.35s);
}

.page-contact .contact-card::after {
  z-index: 1;
  inset: 1px;
  border-radius: 7px;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(215, 226, 229, 0.72);
}

.page-contact .contact-card > * {
  position: relative;
  z-index: 2;
}

@keyframes contact-card-flow {
  to {
    transform: rotate(360deg);
  }
}

.metric-grid--portfolio-detail .metric-item,
.portfolio-detail-feature__frame,
.portfolio-gallery__item {
  border: 1px solid #d7e2e5;
  background: #ffffff;
}

.metric-grid--portfolio-detail .metric-item span {
  color: #536268;
}

.portfolio-detail-hero__content,
.portfolio-detail-hero__content .section-kicker,
.portfolio-detail-hero__content .section-lede {
  color: #ffffff;
}

.portfolio-detail-hero .button--secondary {
  border-color: rgba(255, 255, 255, 0.62);
  color: #ffffff;
}

.portfolio-detail-hero .button--secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

/* Footer is the single stable dark brand band. */
.site-footer {
  background: #005d7e;
  color: #ffffff;
}

.site-footer__column h3 {
  color: #ffffff;
}

.site-footer__link,
.site-footer__bottom p {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer__bottom {
  border-top-color: rgba(255, 255, 255, 0.22);
}

.site-footer__brandmark-wordmark .brand-gradient-char {
  background: linear-gradient(100deg, #ffffff 0%, #7de0ae 28%, #00adef 50%, #ffffff 72%, #7de0ae 100%);
  background-size: 240% 100%;
  -webkit-background-clip: text;
  background-clip: text;
}

/* Brand-aligned 404 without decorative color fields. */
.page-error {
  --error-cream: #f3f7f8;
  --error-cream-deep: #eaf7fb;
  --error-ink: #172327;
  --error-ink-soft: #536268;
  --error-gold: #00adef;
  --error-gold-deep: #005d7e;
  background: #f3f7f8;
}

.error-page {
  background: #f3f7f8;
}

.error-page::before,
.error-page__visual::before {
  display: none;
}

.error-page__brand-main .brand-gradient-char {
  background: linear-gradient(90deg, #005d7e 0%, #00adef 58%, #007d3c 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.error-page__action {
  border-radius: 8px;
}

.error-page__action--primary {
  border-color: #005d7e;
  background: #005d7e;
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(23, 35, 39, 0.14);
}

.error-page__action--secondary:hover {
  border-color: #00759d;
  background: #eaf7fb;
}

#error-frame-metal stop:first-child {
  stop-color: #005d7e;
}

#error-frame-metal stop:nth-child(2) {
  stop-color: #eaf7fb;
}

#error-frame-metal stop:last-child {
  stop-color: #00a650;
}

.error-elevator__pot {
  fill: #00a650;
}

@media (max-width: 767px) {
  .site-header {
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .site-logo__primary {
    color: #005d7e;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand-gradient-char {
    animation: none;
  }

  .about-partner-grid__glow::before,
  .page-contact .contact-card::before {
    animation: none;
  }
}
