html {
  scroll-behavior: auto;
}

body {
  font-family: 'Pretendard', 'Outfit', system-ui, sans-serif;
  background: #FAFAF7;
  color: #132247;
  line-height: 1.72;
  letter-spacing: 0.002em;
  -webkit-font-smoothing: antialiased;
}

p,
li {
  line-height: 1.78;
}

.kr {
  word-break: keep-all;
}

.display {
  font-family: 'Outfit', 'Pretendard', sans-serif;
  letter-spacing: -0.04em;
}

iconify-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 60;
  opacity: 0.035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.9'/></svg>");
  mix-blend-mode: multiply;
}

.reveal,
.reveal.on,
.reveal.d1,
.reveal.d2,
.reveal.d3,
.reveal.d4,
.reveal.d5 {
  opacity: 1;
  transform: none;
  transition: none;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.float-slow {
  animation: none;
}

@keyframes marquee-x {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.marquee-track {
  animation: none;
}

.marquee-track.slow {
  animation-duration: 0s;
}

.marquee-wrap:hover .marquee-track {
  animation-play-state: running;
}

.media-logo-wrap {
  overflow: visible;
}

.media-logo-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8.4rem, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.cta-magnetic {
  transition: transform .4s cubic-bezier(.16, 1, .3, 1), box-shadow .4s cubic-bezier(.16, 1, .3, 1);
}

.cta-magnetic:hover {
  transform: translateY(-2px) scale(1.015);
}

.cta-magnetic:active {
  transform: translateY(0) scale(0.985);
}

.nav-pill {
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  background: rgba(250, 250, 247, 0.72);
  border: 1px solid rgba(10, 18, 41, 0.06);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 10px 30px -10px rgba(10, 18, 41, 0.12);
}

.common-header {
  background: rgba(250, 250, 247, 0.94) !important;
  border-bottom-color: rgba(10, 18, 41, 0.10) !important;
  box-shadow: 0 12px 30px -28px rgba(10, 18, 41, 0.42);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
}

.common-nav-link {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.72rem 0.96rem;
  border: 1px solid transparent;
  border-radius: 0.95rem;
  color: #0a1229;
  font-size: 1.03rem;
  font-weight: 850;
  line-height: 1.1;
  white-space: nowrap;
}

.common-nav-link:hover,
.common-nav-link:focus-visible {
  background: rgba(37, 99, 235, 0.12);
  border-color: rgba(37, 99, 235, 0.28);
  color: #0a1229;
  outline: none;
}

.common-nav-link:active,
.common-nav-link.is-active {
  background: rgba(10, 18, 41, 0.035);
  border-color: rgba(10, 18, 41, 0.14);
  color: #0a1229;
  box-shadow: none;
}

.common-nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.38rem;
  height: 2px;
  border-radius: 999px;
  background: #2563EB;
}

.common-mobile-link {
  display: flex;
  align-items: center;
  min-height: 3rem;
  padding: 0.78rem 0.9rem;
  border: 1px solid transparent;
  border-radius: 0.85rem;
  line-height: 1.2;
}

.common-mobile-link:hover,
.common-mobile-link:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.common-mobile-link.is-active {
  background: #2563EB;
  border-color: #2563EB;
  color: #ffffff;
}

.glass-dark {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.hero-grid {
  background-image: none;
  background-size: 56px 56px;
  mask-image: none;
}

.mesh-amber {
  background: #173061;
}

.scroll-x::-webkit-scrollbar {
  height: 6px;
}

.scroll-x::-webkit-scrollbar-thumb {
  background: rgba(10, 18, 41, 0.2);
  border-radius: 999px;
}

.sharp-number {
  font-family: 'Outfit', sans-serif;
  font-feature-settings: "tnum" 1, "ss01" 1;
}

.ticker-item {
  flex: 0 0 auto;
}

.service-card {
  transition: transform .5s cubic-bezier(.16, 1, .3, 1), box-shadow .5s cubic-bezier(.16, 1, .3, 1);
}

.service-card:hover {
  transform: translateY(-6px);
}

.tag-chip {
  font-variant-numeric: tabular-nums;
}

.dotline {
  background: rgba(37, 99, 235, 0.34);
  height: 1px;
  width: 100%;
}

/* Tabs */
.tab-btn[aria-selected="true"] {
  background: #0A1229;
  color: #FAFAF7;
}

.tab-btn[aria-selected="true"] .tab-dot {
  background: #2563EB;
}

.tab-panel[hidden] {
  display: none;
}

/* Slider */
.synergy-track {
  transition: transform .7s cubic-bezier(.16, 1, .3, 1);
}

/* Timeline */
.tl-year {
  background: #536277;
  border: 1px solid rgba(203, 213, 225, 0.22);
  color: #ffffff;
  box-shadow: 0 14px 28px -24px rgba(15, 23, 42, 0.55);
}

.tl-year.current {
  background: #64758d;
  border-color: rgba(203, 213, 225, 0.3);
  color: #FFFFFF;
}

.history-highlight .text-amber-accent,
.history-highlight .text-amber-accent\/80 {
  color: #BFD4FF !important;
}

.history-highlight .border-amber-accent\/30 {
  border-color: rgba(191, 212, 255, 0.32) !important;
}

/* Tables */
.kpi-bar {
  background: #050915;
}

/* Logo tiles */
.logo-tile {
  background: #FFFFFF;
  border: 1px solid rgba(10, 18, 41, 0.07);
  border-radius: 14px;
  transition: transform .3s, box-shadow .3s;
}

.logo-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -18px rgba(10, 18, 41, 0.25);
}

.logo-tile-image {
  min-height: 5.2rem;
  padding: 1rem;
}

.logo-tile-image img {
  display: block;
  width: auto;
  max-width: min(100%, 11rem);
  max-height: 4rem;
  object-fit: contain;
}

.ticker-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  min-height: 3.35rem;
  padding: 0.75rem 1.05rem;
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.ticker-logo img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 2rem;
  object-fit: contain;
}

.ticker-logo-text {
  font-family: "Outfit", "Pretendard", sans-serif;
  font-size: clamp(1.05rem, 1.35vw, 1.35rem);
  font-weight: 900;
  color: #0A1229;
  line-height: 1.1;
  text-align: center;
  white-space: normal;
  word-break: keep-all;
}

.content-logo-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
}

.content-logo-row img {
  display: block;
  width: auto;
  max-width: 9.4rem;
  max-height: 3.35rem;
  object-fit: contain;
}

.portfolio-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 9.2rem;
  max-width: 15.5rem;
  min-height: 5.45rem;
  padding: 0.85rem 1rem;
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(10, 18, 41, 0.08);
  box-shadow: 0 16px 34px -28px rgba(10, 18, 41, 0.38);
}

.portfolio-logo img {
  display: block;
  width: auto;
  max-width: 12.8rem;
  max-height: 4.75rem;
  object-fit: contain;
}

.portfolio-logo-dark {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(255, 255, 255, 0.16);
}

.portfolio-watermark {
  position: absolute;
  right: clamp(1.4rem, 4vw, 3rem);
  top: clamp(1.6rem, 4vw, 3.2rem);
  width: min(17rem, 46%);
  max-height: 7rem;
  object-fit: contain;
  opacity: 0.15;
  filter: saturate(1.05);
}

.client-logo-wall {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.client-logo-wall .logo-tile {
  min-height: 5.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Utility */
.inset-line {
  box-shadow: inset 0 0 0 1px rgba(10, 18, 41, 0.08);
}

.inset-line-dark {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

@media (max-width: 480px) {
  .common-header-nav {
    min-height: 72px;
    gap: 0.65rem;
  }

  .common-header-brand {
    font-size: clamp(1.15rem, 5vw, 1.34rem) !important;
  }

  .common-header-actions {
    flex: 0 0 auto;
    gap: 0.35rem !important;
  }

  .common-header-cta {
    display: none !important;
  }

  #navToggle {
    flex: 0 0 2.75rem;
    width: 2.75rem !important;
    height: 2.75rem !important;
    margin-left: 0 !important;
  }
}

/* Main page hover motion off */
.marquee-wrap:hover .marquee-track,
.cta-magnetic:hover,
.cta-magnetic:active,
.service-card:hover,
.logo-tile:hover,
.step-item:hover,
.portfolio-card:hover,
.org-node:hover,
.why-card:hover,
.service-card:hover,
.tool-item:hover,
.group:hover iconify-icon,
.group:hover img {
  transform: none !important;
}

a,
button,
iconify-icon,
.cta-magnetic,
.service-card,
.logo-tile,
.synergy-track,
.tag-chip,
.group img,
.group iconify-icon {
  transition: none !important;
}

/* Keep third-party widget interactions intact. */
#ch-plugin,
#ch-plugin *,
#ch-plugin *::before,
#ch-plugin *::after {
  transition: revert !important;
  animation: revert !important;
}

/* Disable all mouse-hover motion effects globally */
@media (hover: hover) {

  *,
  *::before,
  *::after {
    transition: none !important;
  }

  *:hover,
  *:hover::before,
  *:hover::after {
    animation: none !important;
    transform: none !important;
  }

  #ch-plugin:hover,
  #ch-plugin *:hover,
  #ch-plugin *:hover::before,
  #ch-plugin *:hover::after {
    animation: revert !important;
    transform: revert !important;
  }

  .marquee-wrap:hover .marquee-track {
    animation-play-state: running !important;
  }
}

.site-footer {
  background: #050915;
  color: rgba(255, 255, 255, 0.78);
  margin-top: 0;
}

.footer-inner {
  padding: 2.2rem 0;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 1.25rem;
}

.footer-title {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: #2563EB;
}

.footer-links {
  margin-top: 0.82rem;
  display: grid;
  gap: 0.52rem;
  font-size: 1rem;
}

.footer-links a {
  color: inherit;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-links a:hover {
  color: #fff;
  transform: translateX(2px);
}

.copyright {
  padding-bottom: 1.2rem;
  font-size: 0.82rem;
  opacity: 0.7;
}

@media (max-width: 980px) {
  .footer-inner {
    grid-template-columns: 1fr;
    padding: 1.7rem 0;
  }

  .client-logo-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ticker-logo {
    min-width: 7.4rem;
  }
}

/* ============================================
   READABILITY BOOST (main)
   ============================================ */
body {
  font-size: 19px;
  line-height: 1.86;
}

p,
li {
  line-height: 1.90;
}

.text-\[10\.5px\],
.text-\[11px\],
.text-\[12px\],
.text-xs {
  font-size: 0.92rem !important;
  line-height: 1.56 !important;
}

.text-sm,
.text-\[13\.5px\],
.text-\[14px\],
.text-\[14\.5px\] {
  font-size: 1.02rem !important;
  line-height: 1.72 !important;
}

.footer-title,
.copyright {
  font-size: 0.94rem;
}

/* ============================================
   AGENCY VISUAL BOOST (main)
   ============================================ */
#top {
  isolation: isolate;
  background: #081A3D;
}

#top::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: #081A3D;
  background-size: 100% 100%, 9rem 100%;
  opacity: 1;
}

#top::after {
  display: none;
  content: none;
}

#top>.relative {
  z-index: 1;
}

#top h1 {
  text-shadow: 0 16px 42px rgba(0, 0, 0, 0.34);
}

#top .text-amber-accent,
#business .text-amber-accent,
#history .text-amber-accent,
#contact .text-amber-accent {
  color: #9DBAFF !important;
}

#top [class*="text-amber-accent"],
#business [class*="text-amber-accent"],
#history [class*="text-amber-accent"],
#contact [class*="text-amber-accent"] {
  color: #9DBAFF !important;
}

.agency-channel-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.52rem;
  margin-top: 1.25rem;
  max-width: 48rem;
}

.agency-channel-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 2.05rem;
  padding: 0.34rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.24);
  background: rgba(255, 255, 255, 0.055);
  color: rgba(250, 250, 247, 0.88);
  font-size: 0.88rem;
  font-weight: 850;
  line-height: 1.15;
}

.agency-command-board {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  border: 1px solid rgba(37, 99, 235, 0.28);
  background: #050915;
  box-shadow: 0 26px 70px -44px rgba(37, 99, 235, 0.7);
  padding: 1rem;
}

.agency-command-board::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: none;
  background-size: 100% 2.35rem;
  opacity: 0.5;
  pointer-events: none;
}

.agency-command-board>* {
  position: relative;
}

.agency-command-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(250, 250, 247, 0.9);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.agency-command-head strong {
  color: #2563EB;
  font-size: 0.78rem;
}

.agency-command-list {
  display: grid;
  gap: 0.48rem;
  margin-top: 0.85rem;
}

.agency-command-row {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  padding: 0.62rem 0.72rem;
  border-radius: 0.84rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.085);
}

.agency-command-row span {
  color: rgba(250, 250, 247, 0.64);
  font-size: 0.82rem;
  font-weight: 800;
}

.agency-command-row b {
  color: #ffffff;
  font-size: 0.9rem;
  line-height: 1.28;
}

.agency-signal-bars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.38rem;
  margin-top: 0.9rem;
}

.agency-signal-bars i {
  display: block;
  height: 0.34rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.agency-signal-bars i:nth-child(1),
.agency-signal-bars i:nth-child(3),
.agency-signal-bars i:nth-child(5) {
  background: #2563EB;
}

.ad-synergy-board {
  background: #07142f;
  border: 1px solid rgba(116, 160, 255, 0.48);
  box-shadow: 0 28px 80px -52px rgba(37, 99, 235, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.ad-synergy-label,
.ad-synergy-board .ad-synergy-label {
  color: #d7e4ff !important;
}

.ad-synergy-node,
.ad-synergy-step-primary {
  background: #2f6df6;
  color: #ffffff !important;
  border: 1px solid rgba(191, 212, 255, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 12px 26px -20px rgba(47, 109, 246, 0.9);
  font-size: 1.05rem;
  line-height: 1.08;
  text-shadow: 0 1px 1px rgba(5, 9, 21, 0.28);
}

.ad-synergy-plus,
.ad-synergy-step-muted {
  background: #112247;
  color: #dbe7ff !important;
  border: 1px solid rgba(157, 186, 255, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  text-shadow: none;
}

.ad-synergy-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.35rem;
  font-size: 1.02rem;
  line-height: 1.15;
}

.ad-synergy-list {
  color: rgba(255, 255, 255, 0.96);
}

.ad-synergy-list iconify-icon {
  color: #bfd4ff !important;
}

#top .glass-dark {
  border-color: rgba(37, 99, 235, 0.2);
  background: #050915;
  box-shadow: 0 28px 90px -56px rgba(37, 99, 235, 0.58), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.media-logo-track {
  padding: 0.15rem;
}

.ticker-logo,
.logo-tile {
  box-shadow: 0 16px 36px -28px rgba(10, 18, 41, 0.42);
}

.ticker-logo {
  min-height: 3.75rem;
  background: #ffffff;
}

.service-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(10, 18, 41, 0.08) !important;
  box-shadow: 0 22px 56px -42px rgba(10, 18, 41, 0.48);
}

.service-card::after,
.logo-tile::after {
  content: "";
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  top: 0;
  height: 3px;
  border-radius: 999px;
  background: #2563EB;
  opacity: 0.9;
}

.logo-tile {
  position: relative;
  overflow: hidden;
  background: #ffffff;
}

.owned-solution-card {
  display: flex;
  align-items: stretch;
  min-height: 12.15rem;
  padding: 1.45rem !important;
  background: #07142f !important;
  border: 1px solid rgba(116, 160, 255, 0.36);
  box-shadow: 0 22px 56px -42px rgba(10, 18, 41, 0.7);
}

.owned-solution-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
}

.owned-solution-kicker {
  min-height: 1.45rem;
  margin: 0 0 1rem;
  color: #d7e4ff;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.08em;
}

.owned-solution-kicker iconify-icon {
  color: #7facff;
  font-size: 1.05rem;
}

.owned-solution-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  align-items: stretch;
  flex: 1;
}

.owned-solution-item {
  display: grid;
  grid-template-rows: auto auto 1fr;
  align-content: start;
  min-height: 5.65rem;
  padding: 1.05rem 1rem;
  border-radius: 0.86rem;
  border: 1px solid rgba(191, 212, 255, 0.24);
  background: #101b35;
}

.owned-solution-item iconify-icon {
  display: block;
  margin-bottom: 0.62rem;
  color: #8fb3ff;
  font-size: 1.25rem;
}

.owned-solution-name {
  color: #ffffff;
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1.18;
}

.owned-solution-desc {
  margin-top: 0.42rem;
  color: rgba(245, 248, 255, 0.84);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
  word-break: keep-all;
}

.client-logo-wall {
  grid-template-columns: repeat(auto-fit, minmax(8.6rem, 1fr));
}

@media (max-width: 980px) {
  .agency-command-row {
    grid-template-columns: 1fr;
    gap: 0.24rem;
  }

  .agency-channel-strip span {
    font-size: 0.82rem;
  }

  .owned-solution-card {
    min-height: 0;
  }
}

@media (max-width: 560px) {
  .owned-solution-grid {
    grid-template-columns: 1fr;
  }
}

/* SERVICE SECTION HEADING ALIGNMENT */
.service-section-head {
  align-items: start !important;
}

.service-section-copy {
  width: 100%;
  justify-self: end;
  padding-top: clamp(2.35rem, 3.4vw, 2.45rem);
}

.service-section-copy p {
  margin: 0;
  max-width: 44rem;
  text-align: left;
  word-break: keep-all;
}

@media (max-width: 767px) {
  .service-section-copy {
    justify-self: start;
    padding-top: 0;
  }
}

/* COLOR CONTRAST TUNE */
.common-mobile-link.is-active,
.bg-amber-accent.text-ink-900,
.bg-amber-accent.text-\[\#0A1229\],
a.bg-amber-accent,
button.bg-amber-accent,
span.bg-amber-accent,
div.bg-amber-accent {
  color: #ffffff !important;
}

.bg-amber-accent .text-ink-900,
.bg-amber-accent .text-ink-800,
.bg-amber-accent .text-ink-700 {
  color: rgba(255, 255, 255, 0.92) !important;
}

.bg-amber-accent .bg-ink-900,
.bg-amber-accent.bg-ink-900 {
  color: #ffffff !important;
}

/* HERO PROOF BADGES */
.hero-proof-badge {
  min-height: 2.35rem;
  background: rgba(248, 251, 255, 0.11) !important;
  border-color: rgba(191, 212, 255, 0.34) !important;
  color: #f8fbff !important;
  font-family: "Pretendard", "Noto Sans KR", system-ui, sans-serif !important;
  font-size: clamp(0.92rem, 0.96vw, 1rem) !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  line-height: 1.2 !important;
  text-shadow: none !important;
  box-shadow: 0 12px 26px -22px rgba(5, 9, 21, 0.72);
}

.hero-proof-badge--partner {
  background: rgba(248, 251, 255, 0.11) !important;
  border-color: rgba(191, 212, 255, 0.34) !important;
  color: #f8fbff !important;
}

.hero-proof-badge--partner iconify-icon {
  color: #f8fbff !important;
  font-size: 1rem !important;
}

.hero-proof-badge > span {
  background: #f8fbff !important;
}

/* MAIN VALUE CARD READABILITY */
.value-card-specialists .value-team-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.7rem;
  height: 3.7rem;
  padding: 0.58rem;
  border-radius: 1rem;
  border: 1px solid rgba(191, 212, 255, 0.26);
  background: rgba(191, 212, 255, 0.12);
  color: #bfd4ff !important;
  opacity: 1 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.value-card-growth .growth-mini-chart {
  border-radius: 1rem;
  border: 1px solid rgba(191, 212, 255, 0.34);
  background: #0a1229;
  padding: 1.22rem 0.9rem 0.96rem;
  box-shadow: 0 18px 34px -28px rgba(5, 9, 21, 0.82);
}

.value-card-growth .growth-mini-bars {
  gap: 0.55rem !important;
  height: 5.35rem !important;
}

.value-card-growth .growth-mini-bar {
  position: relative;
  min-height: 1.7rem;
  border-radius: 0.58rem 0.58rem 0.18rem 0.18rem !important;
  background: #9dbaff !important;
  border: 1px solid rgba(216, 228, 255, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.value-card-growth .growth-mini-bar span {
  position: absolute;
  left: 50%;
  top: -1.28rem;
  transform: translateX(-50%);
  min-width: 2.18rem;
  border-radius: 999px;
  background: #ffffff;
  padding: 0.14rem 0.36rem;
  color: #0a1229 !important;
  font-size: 0.64rem !important;
  font-weight: 850 !important;
  line-height: 1.2;
}

.value-card-growth .growth-mini-years {
  margin-top: 0.55rem !important;
  color: #eaf1ff !important;
}

.value-card-growth .growth-mini-years span {
  border-radius: 999px;
  background: rgba(191, 212, 255, 0.14);
  padding: 0.16rem 0;
  border: 1px solid rgba(191, 212, 255, 0.18);
}

.value-card-growth .growth-mini-caption {
  margin-top: 0.72rem !important;
  color: #bfd4ff !important;
  letter-spacing: 0.16em !important;
}

/* GLOBAL BORDER CONTRAST TUNE */
.service-card,
.reveal.bg-white,
.portfolio-card,
.media-logo-item,
.client-logo-wall > *,
.agency-channel-strip span {
  border-color: rgba(10, 18, 41, 0.18) !important;
}

.glass-dark,
.agency-command-board,
.agency-command-row,
.hero-proof-badge,
.value-card-specialists,
.value-card-growth,
.value-card-growth .growth-mini-chart,
.value-card-growth .growth-mini-years span,
.owned-solution-card,
.owned-solution-item,
.bg-ink-900,
.bg-ink-950 {
  border-color: rgba(191, 212, 255, 0.34) !important;
}

.common-header {
  border-bottom-color: rgba(10, 18, 41, 0.18) !important;
}

.common-nav-link,
.common-mobile-link {
  border-color: rgba(10, 18, 41, 0.18);
}

.common-nav-link.is-active,
.common-mobile-link.is-active {
  border-color: rgba(37, 99, 235, 0.42) !important;
}

.inset-line {
  box-shadow: inset 0 0 0 1px rgba(10, 18, 41, 0.16) !important;
}

.inset-line-dark {
  box-shadow: inset 0 0 0 1px rgba(191, 212, 255, 0.3) !important;
}

/* SOFT BADGE BUTTON COLOR TUNE */
.hero-proof-badge,
.hero-proof-badge--partner,
.tag-chip,
.agency-channel-strip span {
  background: #364153 !important;
  border-color: rgba(198, 207, 219, 0.72) !important;
  color: #ffffff !important;
  box-shadow: 0 12px 24px -20px rgba(54, 65, 83, 0.48) !important;
  text-shadow: none !important;
}

.hero-proof-badge > span {
  background: #c6cfdb !important;
  box-shadow: 0 0 0 3px rgba(198, 207, 219, 0.24) !important;
}

/* ============================================
   CALM SITE PALETTE OVERRIDE
   ============================================ */
:root {
  --calm-paper: #f7f6f0;
  --calm-surface: #fffefb;
  --calm-soft: #eef2f6;
  --calm-line: #d6dde6;
  --calm-ink: #111827;
  --calm-muted: #56657a;
  --calm-slate: #364153;
  --calm-slate-2: #445166;
  --calm-slate-3: #536277;
  --calm-accent: #8b9aac;
  --calm-accent-soft: #c4cfdb;
}

html,
body {
  background: var(--calm-paper) !important;
  color: var(--calm-ink) !important;
}

.common-header {
  background: rgba(247, 246, 240, 0.96) !important;
  border-bottom-color: rgba(54, 65, 83, 0.18) !important;
  box-shadow: 0 14px 34px -30px rgba(54, 65, 83, 0.42) !important;
}

.common-nav-link,
.common-mobile-link {
  color: #172033 !important;
  border-color: rgba(54, 65, 83, 0.18) !important;
}

.common-nav-link:hover,
.common-nav-link:focus-visible,
.common-nav-link.is-active,
.common-mobile-link.is-active {
  background: #eef2f6 !important;
  border-color: rgba(83, 98, 119, 0.48) !important;
  color: #172033 !important;
  box-shadow: inset 0 -2px 0 rgba(83, 98, 119, 0.56) !important;
}

.common-nav-link.is-active::after {
  background: var(--calm-slate-3) !important;
}

.common-header-cta,
.header-cta,
a.bg-amber-accent,
button.bg-amber-accent,
span.bg-amber-accent,
div.bg-amber-accent {
  background: var(--calm-slate-2) !important;
  border-color: rgba(196, 207, 219, 0.56) !important;
  color: #ffffff !important;
  box-shadow: 0 16px 30px -24px rgba(54, 65, 83, 0.62) !important;
}

.common-header-cta:hover,
.header-cta:hover,
a.bg-amber-accent:hover,
button.bg-amber-accent:hover {
  background: var(--calm-slate) !important;
  color: #ffffff !important;
}

#top,
.mesh-amber,
.bg-ink-950,
.bg-ink-900 {
  background: var(--calm-slate) !important;
}

#top .glass-dark,
.glass-dark,
.agency-command-board,
.owned-solution-card,
.owned-solution-item,
.value-card-specialists,
.value-card-growth {
  background: #303a4b !important;
  border-color: rgba(196, 207, 219, 0.28) !important;
  color: #f8fafc !important;
}

.agency-command-row,
.value-card-growth .growth-mini-chart,
.value-card-growth .growth-mini-years span {
  background: #3d485a !important;
  border-color: rgba(196, 207, 219, 0.26) !important;
}

#top .text-amber-accent,
#business .text-amber-accent,
#history .text-amber-accent,
#contact .text-amber-accent,
#top [class*="text-amber-accent"],
#business [class*="text-amber-accent"],
#history [class*="text-amber-accent"],
#contact [class*="text-amber-accent"],
.text-amber-accent,
[class*="text-amber-accent"] {
  color: var(--calm-accent-soft) !important;
}

.hero-proof-badge,
.hero-proof-badge--partner,
.tag-chip,
.agency-channel-strip span {
  background: var(--calm-slate-3) !important;
  border-color: rgba(196, 207, 219, 0.66) !important;
  color: #ffffff !important;
  box-shadow: 0 12px 24px -20px rgba(54, 65, 83, 0.46) !important;
}

.hero-proof-badge > span {
  background: var(--calm-accent-soft) !important;
  box-shadow: 0 0 0 3px rgba(196, 207, 219, 0.24) !important;
}

.service-card,
.reveal.bg-white,
.portfolio-card,
.media-logo-item,
.client-logo-wall > *,
.logo-tile,
.ticker-logo {
  background: var(--calm-surface) !important;
  border-color: rgba(54, 65, 83, 0.18) !important;
  box-shadow: 0 20px 42px -36px rgba(54, 65, 83, 0.34) !important;
}

.service-card::after,
.logo-tile::after,
.portfolio-card::after {
  background: var(--calm-accent) !important;
}

.section-head::after,
.dotline,
.kpi-bar {
  background: var(--calm-accent) !important;
}

.service-card iconify-icon,
.card-icon,
.tool-badge,
.overview-card-icon {
  color: var(--calm-slate-3) !important;
}

#top::before {
  background: var(--calm-slate) !important;
  opacity: 1 !important;
}

.bg-amber-accent,
.bg-amber-warm,
[class^="bg-amber-accent/"],
[class*=" bg-amber-accent/"],
[class^="bg-amber-warm/"],
[class*=" bg-amber-warm/"] {
  background-color: var(--calm-slate-2) !important;
  border-color: rgba(196, 207, 219, 0.5) !important;
  color: #ffffff !important;
}

[class*="text-amber-accent"],
[class*="text-amber-warm"] {
  color: var(--calm-accent-soft) !important;
}

[class*="border-amber-accent"],
[class*="border-amber-warm"] {
  border-color: rgba(196, 207, 219, 0.46) !important;
}

[class*="ring-amber-accent"],
[class*="focus:ring-amber-accent"] {
  --tw-ring-color: rgba(139, 154, 172, 0.46) !important;
}

.w-6.h-px,
.h-px.bg-amber-accent,
.h-px.bg-amber-warm {
  background: var(--calm-accent) !important;
}

.service-card::before,
.portfolio-card::before,
.logo-tile::before {
  background: var(--calm-accent) !important;
}

/* ============================================
   READABILITY TYPOGRAPHY TUNE
   ============================================ */
html,
body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  font-synthesis-weight: none;
}

body {
  font-size: clamp(17px, 0.96vw, 18.5px) !important;
  line-height: 1.82 !important;
  letter-spacing: 0 !important;
  color: #111827 !important;
  word-break: keep-all;
}

p,
li,
#top p,
.service-card p,
.portfolio-card p,
.value-card-specialists p,
.value-card-growth p,
.owned-solution-desc,
.agency-command-row span,
.agency-command-row b {
  font-size: clamp(1rem, 0.98vw, 1.08rem) !important;
  line-height: 1.78 !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
}

.text-gray-300,
.text-gray-400,
.text-slate-300,
.text-slate-400,
.text-ink-500,
.text-ink-600,
.text-ink-700,
#top .text-paper-300,
#top .text-paper-400 {
  color: #3f4d63 !important;
}

#top .text-gray-300,
#top .text-gray-400,
#top .text-slate-300,
#top .text-slate-400,
#top .text-paper-300,
#top .text-paper-400,
#top p,
.glass-dark p,
.agency-command-board p,
.owned-solution-card p,
.owned-solution-item p,
.value-card-specialists p,
.value-card-growth p {
  color: rgba(248, 250, 252, 0.9) !important;
}

.common-nav-link,
.common-mobile-link,
.common-header-cta,
.header-cta,
#top a,
#top button {
  font-size: clamp(0.98rem, 0.9vw, 1.05rem) !important;
  font-weight: 700 !important;
  line-height: 1.22 !important;
  letter-spacing: 0 !important;
}

.hero-proof-badge,
.hero-proof-badge--partner,
.tag-chip,
.agency-channel-strip span,
.owned-solution-kicker {
  font-size: clamp(0.88rem, 0.82vw, 0.96rem) !important;
  font-weight: 680 !important;
  line-height: 1.28 !important;
  letter-spacing: 0.005em !important;
}

.hero-proof-badge > span {
  font-size: 0 !important;
}

.text-\[10\.5px\],
.text-\[11px\],
.text-\[12px\],
.text-\[13px\],
.text-\[13\.5px\],
.text-\[14px\],
.text-\[14\.5px\] {
  font-size: clamp(0.92rem, 0.86vw, 1rem) !important;
  line-height: 1.48 !important;
  letter-spacing: 0 !important;
  font-weight: 650 !important;
}

#top h1 {
  font-weight: 800 !important;
  line-height: 0.98 !important;
  letter-spacing: -0.024em !important;
  text-shadow: none !important;
}

#top h1 .font-medium {
  font-weight: 650 !important;
}

.service-card h3,
.portfolio-card h3,
.owned-solution-name,
.agency-command-head span,
.agency-command-head strong {
  font-weight: 760 !important;
  line-height: 1.28 !important;
  letter-spacing: -0.012em !important;
}

.section-head h2,
.service-section-head h2 {
  font-weight: 680 !important;
  line-height: 1.22 !important;
  letter-spacing: -0.018em !important;
}

b,
strong,
.font-bold,
.font-semibold,
.font-extrabold,
.font-black {
  font-weight: 700 !important;
}

#top .font-black,
#top .font-extrabold,
.service-card h3.font-black,
.portfolio-card h3.font-black {
  font-weight: 780 !important;
}

/* Final readability pass: small labels/buttons should not look crushed. */
body {
  font-size: clamp(17.5px, 0.98vw, 19px) !important;
}

p,
li,
#top p,
.service-card p,
.portfolio-card p,
.value-card-specialists p,
.value-card-growth p,
.owned-solution-desc,
.agency-command-row span,
.agency-command-row b {
  font-size: clamp(1.05rem, 1.02vw, 1.12rem) !important;
  line-height: 1.82 !important;
  font-weight: 500 !important;
}

.common-nav-link,
.common-mobile-link,
.common-header-cta,
.header-cta,
#top a,
#top button {
  font-size: clamp(1.02rem, 0.95vw, 1.08rem) !important;
  font-weight: 680 !important;
}

.hero-proof-badge,
.hero-proof-badge--partner,
.tag-chip,
.font-bold.tag-chip,
.font-semibold.tag-chip,
.agency-channel-strip span,
.owned-solution-kicker {
  font-size: clamp(0.94rem, 0.88vw, 1rem) !important;
  font-weight: 650 !important;
  line-height: 1.32 !important;
  letter-spacing: 0 !important;
}

.text-\[10\.5px\],
.text-\[11px\],
.text-\[12px\],
.text-\[13px\],
.text-\[13\.5px\],
.text-\[14px\],
.text-\[14\.5px\] {
  font-size: clamp(0.96rem, 0.9vw, 1.02rem) !important;
  line-height: 1.54 !important;
  font-weight: 600 !important;
}

.service-card h3,
.portfolio-card h3,
.owned-solution-name {
  font-weight: 720 !important;
}

/* Audit cleanup: remaining microcopy, dashboard labels, and fallback logo text. */
.text-xs,
.text-\[10px\],
.text-\[10\.5px\],
.text-\[11px\],
.text-\[12px\],
.tracking-wide,
.tracking-wider,
.tracking-\[0\.18em\],
.tracking-\[0\.2em\],
.tracking-\[0\.22em\] {
  letter-spacing: 0 !important;
}

#top .text-xs,
#top .text-\[10px\],
#top .text-\[10\.5px\],
#top .text-\[11px\],
#top .text-\[12px\],
.agency-command-board span,
.agency-command-board strong,
.agency-command-row span,
.agency-command-row b,
.value-card-growth .growth-mini-bar span,
.value-card-growth .growth-mini-years span,
.value-card-growth .growth-mini-caption {
  font-size: clamp(0.94rem, 0.88vw, 1rem) !important;
  font-weight: 620 !important;
  line-height: 1.45 !important;
  letter-spacing: 0 !important;
}

#top .text-paper-100\/70,
#top .text-paper-100\/60,
#top .text-paper-100\/50,
#top .text-paper-100\/40,
.agency-command-board span,
.agency-command-board strong {
  color: rgba(248, 250, 252, 0.86) !important;
}

.agency-command-head span,
.agency-command-head strong {
  font-size: clamp(0.94rem, 0.88vw, 1rem) !important;
  font-weight: 650 !important;
  line-height: 1.34 !important;
}

.ticker-logo-text {
  font-weight: 760 !important;
  letter-spacing: -0.01em !important;
}

.sharp-number {
  font-weight: 760 !important;
}

#top h1,
#top .hero-metric-value,
#top .text-4xl.font-black,
#top .text-7xl.font-black,
#top .text-8xl.font-black {
  font-weight: 800 !important;
}

/* Header menu surface: items stay transparent; group gets the background. */
.common-header-menu {
  background: rgba(248, 247, 242, 0.94) !important;
  border: 1px solid rgba(83, 98, 119, 0.24) !important;
  border-radius: 999px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86), 0 16px 30px -28px rgba(54, 65, 83, 0.5) !important;
}

.common-header-menu .common-nav-link {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  color: #172033 !important;
}

.common-header-menu .common-nav-link:hover,
.common-header-menu .common-nav-link:focus-visible {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

.common-header-menu .common-nav-link.is-active,
.common-header-menu .common-nav-link.is-active:hover,
.common-header-menu .common-nav-link.is-active:focus-visible {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  color: #111827 !important;
}

.common-header-menu .common-nav-link.is-active::after {
  background: #536277 !important;
  height: 2px !important;
  left: 1.1rem !important;
  right: 1.1rem !important;
  bottom: 0.42rem !important;
}

/* Main service contrast guard: keep light cards readable after palette overrides. */
body .service-card,
body .service-card[style] {
  background: var(--calm-surface) !important;
  color: #172033 !important;
  border: 1px solid rgba(54, 65, 83, 0.2) !important;
  box-shadow: 0 22px 46px -34px rgba(54, 65, 83, 0.36) !important;
}

body .service-card .mesh-amber {
  display: none !important;
}

body .service-card h3,
body .service-card b,
body .service-card strong,
body .service-card [class*="text-paper-50"],
body .service-card [class*="text-ink-900"],
body .service-card [class*="text-white"] {
  color: #0f172a !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

body .service-card p,
body .service-card li,
body .service-card [class*="text-paper-100"],
body .service-card [class*="text-ink-700"],
body .service-card [class*="text-ink-800"] {
  color: #2f3b50 !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

body .service-card span:not(.tag-chip),
body .service-card [class*="text-amber-accent"],
body .service-card [class*="text-amber-warm"] {
  color: #536277 !important;
  opacity: 1 !important;
}

body .service-card .tag-chip,
body .service-card .font-bold.tag-chip,
body .service-card .font-semibold.tag-chip {
  background: #536277 !important;
  border-color: rgba(54, 65, 83, 0.22) !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

body .service-card .inline-flex:not(.tag-chip) {
  background: #eef2f6 !important;
  border-color: #d6dde6 !important;
  color: #536277 !important;
}

body .service-card iconify-icon {
  color: #536277 !important;
}

body .service-card .dotline,
body .service-card .h-px {
  background: rgba(83, 98, 119, 0.22) !important;
  opacity: 1 !important;
}

body .service-card .relative,
body .service-card > * {
  color: inherit !important;
}

/* Site-wide contrast cleanup found during browser audit. */
body section:not(#top):not(#business):not(#history):not(#contact) .font-medium.text-amber-warm {
  color: #536277 !important;
  font-weight: 650 !important;
  opacity: 1 !important;
}

.ticker-logo-text[style*="#F7E600"],
.font-display[style*="#F7E600"] {
  background: #f7e600 !important;
  color: #342c08 !important;
  border-color: rgba(52, 44, 8, 0.16) !important;
}

.ticker-logo-text[style*="#0081FB"],
.font-display[style*="#0081FB"] {
  background: #1877f2 !important;
  color: #ffffff !important;
  border-color: rgba(24, 119, 242, 0.24) !important;
}

.site-footer,
.site-footer p,
.site-footer span,
.site-footer a,
.site-footer .copyright {
  color: rgba(248, 250, 252, 0.9) !important;
}

.site-footer .footer-title {
  color: #cbd5e1 !important;
  font-weight: 650 !important;
}

.site-footer .footer-links a:hover {
  color: #ffffff !important;
}

/* Light-section clarity pass: remove washed-out accent text on pale backgrounds. */
body section:not(#top):not(#business):not(#history):not(#contact):not(.bg-ink-950):not(.bg-ink-900):not(.text-paper-50) [class*="text-amber"],
body section:not(#top):not(#business):not(#history):not(#contact):not(.bg-ink-950):not(.bg-ink-900):not(.text-paper-50) .font-medium.text-amber-warm,
body section:not(#top):not(#business):not(#history):not(#contact):not(.bg-ink-950):not(.bg-ink-900):not(.text-paper-50) .font-medium.text-amber-accent,
body .service-section-head [class*="text-amber"],
body .section-head [class*="text-amber"] {
  color: #445166 !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

body section:not(#top):not(#business):not(#history):not(#contact):not(.bg-ink-950):not(.bg-ink-900):not(.text-paper-50) [class*="text-paper-100"],
body section:not(#top):not(#business):not(#history):not(#contact):not(.bg-ink-950):not(.bg-ink-900):not(.text-paper-50) [class*="text-paper-200"],
body section:not(#top):not(#business):not(#history):not(#contact):not(.bg-ink-950):not(.bg-ink-900):not(.text-paper-50) [class*="text-paper-300"],
body section:not(#top):not(#business):not(#history):not(#contact):not(.bg-ink-950):not(.bg-ink-900):not(.text-paper-50) [class*="text-paper-400"] {
  color: #2f3b50 !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

body section:not(#top):not(#business):not(#history):not(#contact):not(.bg-ink-950):not(.bg-ink-900):not(.text-paper-50) h1 [class*="text-amber"],
body section:not(#top):not(#business):not(#history):not(#contact):not(.bg-ink-950):not(.bg-ink-900):not(.text-paper-50) h2 [class*="text-amber"],
body section:not(#top):not(#business):not(#history):not(#contact):not(.bg-ink-950):not(.bg-ink-900):not(.text-paper-50) h3 [class*="text-amber"] {
  color: #536277 !important;
  font-weight: 680 !important;
}

body section:not(#top):not(#business):not(#history):not(#contact):not(.bg-ink-950):not(.bg-ink-900):not(.text-paper-50) .h-px[class*="bg-amber"],
body section:not(#top):not(#business):not(#history):not(#contact):not(.bg-ink-950):not(.bg-ink-900):not(.text-paper-50) .w-6.h-px {
  background: #536277 !important;
  opacity: 1 !important;
}

#top [class*="text-amber"],
#business [class*="text-amber"],
#history [class*="text-amber"],
#contact [class*="text-amber"],
section.bg-ink-950 [class*="text-amber"],
section.bg-ink-900 [class*="text-amber"],
.site-footer [class*="text-amber"],
.glass-dark [class*="text-amber"] {
  color: #cbd5e1 !important;
}

section.bg-ink-950 [class*="text-paper"],
section.bg-ink-900 [class*="text-paper"],
.bg-ink-950 [class*="text-paper"],
.bg-ink-900 [class*="text-paper"],
.text-paper-50 [class*="text-paper"],
.site-footer [class*="text-paper"],
.glass-dark [class*="text-paper"] {
  color: rgba(248, 250, 252, 0.9) !important;
}

section.bg-ink-950 [class*="text-amber"],
section.bg-ink-900 [class*="text-amber"],
.bg-ink-950 [class*="text-amber"],
.bg-ink-900 [class*="text-amber"],
.text-paper-50 [class*="text-amber"],
.value-card-specialists [class*="text-amber"],
.value-card-growth [class*="text-amber"],
.owned-solution-card [class*="text-amber"],
.owned-solution-item [class*="text-amber"] {
  color: #cbd5e1 !important;
}

body .service-card h3,
body .service-card b,
body .service-card strong,
body .service-card [class*="text-paper-50"],
body .service-card [class*="text-ink-900"],
body .service-card [class*="text-white"] {
  color: #0f172a !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

body .service-card p,
body .service-card li,
body .service-card [class*="text-paper-100"],
body .service-card [class*="text-ink-700"],
body .service-card [class*="text-ink-800"] {
  color: #2f3b50 !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

body .service-card span:not(.tag-chip),
body .service-card [class*="text-amber-accent"],
body .service-card [class*="text-amber-warm"] {
  color: #536277 !important;
  opacity: 1 !important;
}

body .service-card .tag-chip,
body .service-card .font-bold.tag-chip,
body .service-card .font-semibold.tag-chip {
  background: #536277 !important;
  color: #ffffff !important;
}

/* Dark cards placed inside pale sections must keep light text. */
body section:not(#top):not(#business):not(#history):not(#contact) .bg-ink-900.text-paper-50,
body section:not(#top):not(#business):not(#history):not(#contact) .bg-ink-950.text-paper-50,
body section:not(#top):not(#business):not(#history):not(#contact) .text-paper-50.bg-ink-900,
body section:not(#top):not(#business):not(#history):not(#contact) .text-paper-50.bg-ink-950 {
  color: #f8fafc !important;
}

body section:not(#top):not(#business):not(#history):not(#contact) .bg-ink-900.text-paper-50 h3,
body section:not(#top):not(#business):not(#history):not(#contact) .bg-ink-950.text-paper-50 h3,
body section:not(#top):not(#business):not(#history):not(#contact) .bg-ink-900.text-paper-50 strong,
body section:not(#top):not(#business):not(#history):not(#contact) .bg-ink-950.text-paper-50 strong,
body section:not(#top):not(#business):not(#history):not(#contact) .bg-ink-900.text-paper-50 b,
body section:not(#top):not(#business):not(#history):not(#contact) .bg-ink-950.text-paper-50 b {
  color: #ffffff !important;
  opacity: 1 !important;
}

body section:not(#top):not(#business):not(#history):not(#contact) .bg-ink-900.text-paper-50 p,
body section:not(#top):not(#business):not(#history):not(#contact) .bg-ink-950.text-paper-50 p,
body section:not(#top):not(#business):not(#history):not(#contact) .bg-ink-900.text-paper-50 li,
body section:not(#top):not(#business):not(#history):not(#contact) .bg-ink-950.text-paper-50 li,
body section:not(#top):not(#business):not(#history):not(#contact) .bg-ink-900.text-paper-50 [class*="text-paper"],
body section:not(#top):not(#business):not(#history):not(#contact) .bg-ink-950.text-paper-50 [class*="text-paper"] {
  color: rgba(248, 250, 252, 0.88) !important;
  opacity: 1 !important;
}

body section:not(#top):not(#business):not(#history):not(#contact) .bg-ink-900.text-paper-50 [class*="text-amber"],
body section:not(#top):not(#business):not(#history):not(#contact) .bg-ink-950.text-paper-50 [class*="text-amber"] {
  color: #dbe7f5 !important;
  opacity: 1 !important;
}

body section:not(#top):not(#business):not(#history):not(#contact) .bg-ink-900.text-paper-50 .border-t,
body section:not(#top):not(#business):not(#history):not(#contact) .bg-ink-950.text-paper-50 .border-t {
  border-color: rgba(248, 250, 252, 0.22) !important;
}

/* Main page organization chart: mirrors the organization page without names or headcounts. */
.main-org-board {
  background: #ffffff;
  border: 1px solid #c8d3e4;
  border-radius: 22px;
  box-shadow: 0 24px 60px -42px rgba(15, 23, 42, 0.44);
  padding: clamp(1.5rem, 4vw, 3rem);
  position: relative;
}

.main-org-board,
.main-org-board * {
  box-sizing: border-box;
}

.main-org-node {
  border: 1px solid #aebfda;
  border-radius: 16px;
  color: #0a1229;
  margin-inline: auto;
  text-align: center;
}

.main-org-node--lead {
  background: #344153;
  border-color: #46566d;
  color: #ffffff;
  max-width: 460px;
  padding: 1.35rem 2rem;
  box-shadow: 0 18px 34px -26px rgba(52, 65, 83, 0.72);
}

.main-org-node--lead span,
.main-org-node--exec span {
  display: block;
  font-size: 0.86rem;
  font-weight: 760;
  line-height: 1.35;
  margin-bottom: 0.45rem;
}

.main-org-node--lead span {
  color: #dbe7ff;
}

.main-org-node--exec span {
  color: #344153;
  font-size: 0.9rem;
  font-weight: 780;
  opacity: 1;
}

.main-org-node--lead strong {
  color: #ffffff;
  display: block;
  font-family: inherit;
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  font-weight: 780;
  letter-spacing: 0;
  line-height: 1.25;
}

.main-org-connector {
  background: #b8c6da;
  margin-inline: auto;
  width: 1px;
}

.main-org-connector--short {
  height: 18px;
}

.main-org-node--exec {
  background: #f2f6fb;
  max-width: 620px;
  padding: 0.9rem 1rem 1rem;
}

.main-org-exec-grid {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.main-org-exec-grid strong {
  background: #ffffff;
  border: 1px solid #c8d3e4;
  border-radius: 12px;
  color: #111a2e;
  display: block;
  font-size: 1rem;
  font-weight: 760;
  line-height: 1.35;
  padding: 0.8rem 1rem;
}

.main-org-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 1.85rem;
  position: relative;
}

.main-org-grid::before {
  background: #b8c6da;
  content: "";
  height: 1px;
  left: 8%;
  position: absolute;
  right: 8%;
  top: -0.85rem;
}

.main-org-col {
  background: #ffffff;
  border: 1px solid #c8d3e4;
  border-radius: 16px;
  box-shadow: 0 16px 32px -30px rgba(15, 23, 42, 0.42);
  grid-column: span 2;
  min-height: 260px;
  padding: 1.15rem;
  position: relative;
}

.main-org-col::before {
  background: #b8c6da;
  content: "";
  height: 0.85rem;
  left: 50%;
  position: absolute;
  top: -0.85rem;
  width: 1px;
}

.main-org-col:nth-child(4) {
  grid-column: 2 / span 2;
}

.main-org-col:nth-child(5) {
  grid-column: 4 / span 2;
}

.main-org-col p {
  color: #344153;
  font-size: 0.82rem;
  font-weight: 780;
  line-height: 1.4;
  margin: 0 0 0.38rem;
}

.main-org-col h3 {
  color: #0a1229;
  font-size: clamp(1.05rem, 1.45vw, 1.2rem);
  font-weight: 780;
  letter-spacing: 0;
  line-height: 1.35;
  margin: 0 0 1.05rem;
}

.main-org-col ul {
  display: grid;
  gap: 0.62rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-org-col li {
  align-items: center;
  background: #f8fafc;
  border: 1px solid #d6deea;
  border-radius: 10px;
  display: flex;
  gap: 0.85rem;
  justify-content: space-between;
  min-height: 46px;
  padding: 0.68rem 0.78rem;
}

.main-org-col li strong {
  color: #0f172a;
  flex: 0 0 auto;
  font-size: 0.94rem;
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1.25;
}

.main-org-col li span {
  color: #536277;
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.35;
  text-align: right;
}

@media (max-width: 980px) {
  .main-org-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .main-org-grid::before,
  .main-org-col::before {
    display: none;
  }

  .main-org-col,
  .main-org-col:nth-child(4),
  .main-org-col:nth-child(5) {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .main-org-board {
    border-radius: 18px;
    padding: 1.15rem;
  }

  .main-org-exec-grid,
  .main-org-grid {
    grid-template-columns: 1fr;
  }

  .main-org-col {
    min-height: auto;
  }

  .main-org-col li {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.22rem;
  }

  .main-org-col li span {
    text-align: left;
  }
}

/* Home solution cards: keep all copy readable on the slate cards. */
.home-solution-section .bg-ink-900.text-paper-50 {
  background: #344153 !important;
  border: 1px solid rgba(203, 213, 225, 0.34) !important;
  box-shadow: 0 22px 46px -34px rgba(15, 23, 42, 0.58) !important;
  color: #f8fafc !important;
}

.home-solution-section .bg-ink-900.text-paper-50 h3,
.home-solution-section .bg-ink-900.text-paper-50 .display {
  color: #ffffff !important;
  font-weight: 740 !important;
  letter-spacing: 0 !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

.home-solution-section .bg-ink-900.text-paper-50 p,
.home-solution-section .bg-ink-900.text-paper-50 p.text-paper-100\/80,
.home-solution-section .bg-ink-900.text-paper-50 [class*="text-paper-100"] {
  color: #e5edf7 !important;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  line-height: 1.78 !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

.home-solution-section .bg-ink-900.text-paper-50 b,
.home-solution-section .bg-ink-900.text-paper-50 [class*="text-amber"] {
  color: #b9d0ff !important;
  font-weight: 760 !important;
  opacity: 1 !important;
}

.home-solution-section .bg-ink-900.text-paper-50 .inline-flex {
  background: #eef4ff !important;
  border: 1px solid rgba(185, 208, 255, 0.56) !important;
  color: #344153 !important;
}

.home-solution-section .bg-ink-900.text-paper-50 .border-t {
  border-color: rgba(226, 232, 240, 0.34) !important;
}

.home-solution-section .bg-ink-900.text-paper-50 .border-t span,
.home-solution-section .bg-ink-900.text-paper-50 span.text-paper-100\/60 {
  color: #d8e3f2 !important;
  font-weight: 760 !important;
  opacity: 1 !important;
}

.home-solution-section .bg-ink-900.text-paper-50 .border-t iconify-icon {
  color: #dbe7ff !important;
  opacity: 1 !important;
}

body section.home-solution-section:not(#top):not(#business):not(#history):not(#contact) .bg-ink-900.text-paper-50 h3,
body section.home-solution-section:not(#top):not(#business):not(#history):not(#contact) .bg-ink-900.text-paper-50 .display {
  color: #ffffff !important;
  opacity: 1 !important;
}

body section.home-solution-section:not(#top):not(#business):not(#history):not(#contact) .bg-ink-900.text-paper-50 p,
body section.home-solution-section:not(#top):not(#business):not(#history):not(#contact) .bg-ink-900.text-paper-50 [class*="text-paper-100"] {
  color: #e5edf7 !important;
  opacity: 1 !important;
}

body section.home-solution-section:not(#top):not(#business):not(#history):not(#contact) .bg-ink-900.text-paper-50 b,
body section.home-solution-section:not(#top):not(#business):not(#history):not(#contact) .bg-ink-900.text-paper-50 [class*="text-amber"] {
  color: #b9d0ff !important;
  opacity: 1 !important;
}

body section.home-solution-section:not(#top):not(#business):not(#history):not(#contact) .bg-ink-900.text-paper-50 .border-t span,
body section.home-solution-section:not(#top):not(#business):not(#history):not(#contact) .bg-ink-900.text-paper-50 span.text-paper-100\/60 {
  color: #d8e3f2 !important;
  opacity: 1 !important;
}

/* Home portfolio cards: fix muted copy and result boxes on mixed dark/light cards. */
body section.home-portfolio-section {
  background: #f7f6f1 !important;
}

body section.home-portfolio-section .bg-ink-950,
body section.home-portfolio-section .bg-ink-900,
body section.home-portfolio-section [style*="#050915"],
body section.home-portfolio-section [style*="#173061"] {
  background-color: #344153 !important;
  color: #ffffff !important;
}

body section.home-portfolio-section article.bg-ink-950,
body section.home-portfolio-section article.bg-ink-900,
body section.home-portfolio-section article[style*="#173061"] {
  border: 1px solid rgba(203, 213, 225, 0.34) !important;
  box-shadow: 0 24px 52px -38px rgba(15, 23, 42, 0.54) !important;
}

body section.home-portfolio-section .bg-amber-accent {
  background-color: #536277 !important;
  color: #ffffff !important;
}

body section.home-portfolio-section article,
body section.home-portfolio-section article * {
  text-shadow: none !important;
}

body section.home-portfolio-section article .flex.items-center.gap-2 > span.rounded-full {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  height: 2rem !important;
  min-height: 2rem !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  border-width: 1px !important;
  border-style: solid !important;
  border-color: transparent;
  font-size: 0.875rem !important;
  font-weight: 740 !important;
  letter-spacing: 0 !important;
  line-height: 1 !important;
  vertical-align: top !important;
  white-space: nowrap !important;
}

body section.home-portfolio-section article.lg\:row-span-2 {
  justify-content: flex-start !important;
  gap: 6rem !important;
}

body section.home-portfolio-section article:not(.lg\:row-span-2) {
  justify-content: flex-start !important;
  gap: 1.5rem !important;
  padding: 1.75rem !important;
  border: 1px solid rgba(203, 213, 225, 0.34) !important;
}

body section.home-portfolio-section article:not(.lg\:row-span-2) > .flex.items-center.gap-2,
body section.home-portfolio-section article:not(.lg\:row-span-2) > .flex.items-start.justify-between {
  flex: 0 0 2rem !important;
  min-height: 2rem !important;
  align-items: center !important;
  margin: 0 !important;
}

body section.home-portfolio-section article:not(.lg\:row-span-2) > div:not(.absolute) {
  width: 100%;
  margin-top: 0 !important;
}

body section.home-portfolio-section article:not(.lg\:row-span-2) .portfolio-logo {
  width: 11.75rem !important;
  height: 5.75rem !important;
  min-width: 11.75rem !important;
  min-height: 5.75rem !important;
  max-width: 100% !important;
  margin-top: 0 !important;
  margin-bottom: 1.25rem !important;
}

body section.home-portfolio-section article:not(.lg\:row-span-2) .portfolio-logo + h3,
body section.home-portfolio-section article:not(.lg\:row-span-2) .portfolio-logo + .font-display {
  display: block !important;
  font-size: 1.25rem !important;
  font-weight: 760 !important;
  line-height: 1.32 !important;
  letter-spacing: 0 !important;
  min-height: 3.3rem !important;
  margin-top: 0 !important;
  margin-bottom: 0.55rem !important;
}

body section.home-portfolio-section article:not(.lg\:row-span-2) .portfolio-logo + .sharp-number {
  display: block !important;
  min-height: 3.3rem !important;
  margin-top: 0 !important;
  margin-bottom: 0.55rem !important;
}

body section.home-portfolio-section article:not(.lg\:row-span-2) .portfolio-logo + .sharp-number + div {
  margin-top: 0 !important;
}

body section.home-portfolio-section article:not(.lg\:row-span-2) .portfolio-logo + h3 + ul.kr,
body section.home-portfolio-section article:not(.lg\:row-span-2) .portfolio-logo + .font-display + ul.kr,
body section.home-portfolio-section article:not(.lg\:row-span-2) .portfolio-logo + .font-display + div {
  margin-top: 0 !important;
}

body section.home-portfolio-section article p.kr,
body section.home-portfolio-section article ul.kr,
body section.home-portfolio-section article ul.kr li {
  font-size: 0.95rem !important;
  line-height: 1.68 !important;
  letter-spacing: 0 !important;
}

body section.home-portfolio-section article h3,
body section.home-portfolio-section article .display,
body section.home-portfolio-section article .font-display {
  opacity: 1 !important;
}

body section.home-portfolio-section article.bg-ink-950 h3,
body section.home-portfolio-section article.bg-ink-900 h3,
body section.home-portfolio-section article[style*="#173061"] h3,
body section.home-portfolio-section article.bg-amber-accent h3,
body section.home-portfolio-section article.bg-ink-950 .font-display,
body section.home-portfolio-section article.bg-ink-900 .font-display,
body section.home-portfolio-section article[style*="#173061"] .font-display,
body section.home-portfolio-section article.bg-amber-accent .font-display {
  color: #ffffff !important;
  font-weight: 760 !important;
}

body section.home-portfolio-section article.bg-ink-950 p,
body section.home-portfolio-section article.bg-ink-950 li,
body section.home-portfolio-section article.bg-ink-950 span,
body section.home-portfolio-section article.bg-ink-900 p,
body section.home-portfolio-section article.bg-ink-900 li,
body section.home-portfolio-section article.bg-ink-900 span,
body section.home-portfolio-section article[style*="#173061"] p,
body section.home-portfolio-section article[style*="#173061"] li,
body section.home-portfolio-section article[style*="#173061"] span,
body section.home-portfolio-section article.bg-amber-accent p,
body section.home-portfolio-section article.bg-amber-accent li,
body section.home-portfolio-section article.bg-amber-accent span {
  color: #e6edf7 !important;
  opacity: 1 !important;
}

body section.home-portfolio-section article.bg-ink-950 b,
body section.home-portfolio-section article.bg-ink-900 b,
body section.home-portfolio-section article[style*="#173061"] b,
body section.home-portfolio-section article.bg-amber-accent b {
  color: #ffffff !important;
  opacity: 1 !important;
}

body section.home-portfolio-section article .text-amber-accent,
body section.home-portfolio-section article [class*="text-amber"] {
  color: #dbe7ff !important;
  opacity: 1 !important;
}

body section.home-portfolio-section article .bg-white\/8,
body section.home-portfolio-section article .bg-white\/10 {
  background-color: rgba(248, 250, 252, 0.13) !important;
  border-color: rgba(226, 232, 240, 0.28) !important;
  color: #ffffff !important;
}

body section.home-portfolio-section article .bg-white\/8 *,
body section.home-portfolio-section article .bg-white\/10 * {
  color: #ffffff !important;
  opacity: 1 !important;
}

body section.home-portfolio-section article.bg-ink-950 .bg-amber-accent,
body section.home-portfolio-section article.bg-ink-900 .bg-amber-accent,
body section.home-portfolio-section article[style*="#173061"] .bg-amber-accent {
  background-color: #e8eef7 !important;
  border-color: rgba(232, 238, 247, 0.64) !important;
  color: #172033 !important;
}

body section.home-portfolio-section article.bg-ink-950 .bg-amber-accent *,
body section.home-portfolio-section article.bg-ink-900 .bg-amber-accent *,
body section.home-portfolio-section article[style*="#173061"] .bg-amber-accent * {
  color: #172033 !important;
}

body section.home-portfolio-section article.bg-white,
body section.home-portfolio-section article.bg-white * {
  color: #0a1229 !important;
}

body section.home-portfolio-section article.bg-white p,
body section.home-portfolio-section article.bg-white li,
body section.home-portfolio-section article.bg-white .text-ink-700 {
  color: #2f3b50 !important;
}

body section.home-portfolio-section article.bg-white .bg-ink-950,
body section.home-portfolio-section article.bg-white .bg-ink-950 * {
  background-color: #344153 !important;
  color: #ffffff !important;
}

body section.home-portfolio-section article.bg-white .bg-ink-950 .sharp-number,
body section.home-portfolio-section article.bg-white .bg-ink-950 .sharp-number span {
  color: #f8fbff !important;
  -webkit-text-fill-color: #f8fbff !important;
  font-weight: 860 !important;
  opacity: 1 !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

body section.home-portfolio-section .portfolio-logo {
  background: rgba(255, 255, 255, 0.98) !important;
  border-color: rgba(15, 23, 42, 0.12) !important;
}

body section.home-portfolio-section .portfolio-watermark {
  opacity: 0.08 !important;
}

body section.home-portfolio-section:not(#top):not(#business):not(#history):not(#contact):not(.bg-ink-950):not(.bg-ink-900):not(.text-paper-50) article.bg-ink-950 h3,
body section.home-portfolio-section:not(#top):not(#business):not(#history):not(#contact):not(.bg-ink-950):not(.bg-ink-900):not(.text-paper-50) article.bg-ink-900 h3,
body section.home-portfolio-section:not(#top):not(#business):not(#history):not(#contact):not(.bg-ink-950):not(.bg-ink-900):not(.text-paper-50) article.bg-amber-accent h3,
body section.home-portfolio-section:not(#top):not(#business):not(#history):not(#contact):not(.bg-ink-950):not(.bg-ink-900):not(.text-paper-50) article[style*="#173061"] h3 {
  color: #ffffff !important;
  opacity: 1 !important;
}

body section.home-portfolio-section:not(#top):not(#business):not(#history):not(#contact):not(.bg-ink-950):not(.bg-ink-900):not(.text-paper-50) article.bg-ink-950 p,
body section.home-portfolio-section:not(#top):not(#business):not(#history):not(#contact):not(.bg-ink-950):not(.bg-ink-900):not(.text-paper-50) article.bg-ink-950 li,
body section.home-portfolio-section:not(#top):not(#business):not(#history):not(#contact):not(.bg-ink-950):not(.bg-ink-900):not(.text-paper-50) article.bg-ink-950 [class*="text-paper"],
body section.home-portfolio-section:not(#top):not(#business):not(#history):not(#contact):not(.bg-ink-950):not(.bg-ink-900):not(.text-paper-50) article.bg-ink-900 p,
body section.home-portfolio-section:not(#top):not(#business):not(#history):not(#contact):not(.bg-ink-950):not(.bg-ink-900):not(.text-paper-50) article.bg-ink-900 li,
body section.home-portfolio-section:not(#top):not(#business):not(#history):not(#contact):not(.bg-ink-950):not(.bg-ink-900):not(.text-paper-50) article.bg-ink-900 [class*="text-paper"],
body section.home-portfolio-section:not(#top):not(#business):not(#history):not(#contact):not(.bg-ink-950):not(.bg-ink-900):not(.text-paper-50) article.bg-amber-accent p,
body section.home-portfolio-section:not(#top):not(#business):not(#history):not(#contact):not(.bg-ink-950):not(.bg-ink-900):not(.text-paper-50) article.bg-amber-accent li,
body section.home-portfolio-section:not(#top):not(#business):not(#history):not(#contact):not(.bg-ink-950):not(.bg-ink-900):not(.text-paper-50) article.bg-amber-accent [class*="text-ink"],
body section.home-portfolio-section:not(#top):not(#business):not(#history):not(#contact):not(.bg-ink-950):not(.bg-ink-900):not(.text-paper-50) article[style*="#173061"] p,
body section.home-portfolio-section:not(#top):not(#business):not(#history):not(#contact):not(.bg-ink-950):not(.bg-ink-900):not(.text-paper-50) article[style*="#173061"] li,
body section.home-portfolio-section:not(#top):not(#business):not(#history):not(#contact):not(.bg-ink-950):not(.bg-ink-900):not(.text-paper-50) article[style*="#173061"] [class*="text-paper"] {
  color: #e6edf7 !important;
  opacity: 1 !important;
}

body section.home-portfolio-section:not(#top):not(#business):not(#history):not(#contact):not(.bg-ink-950):not(.bg-ink-900):not(.text-paper-50) article.bg-ink-950 [class*="text-amber"],
body section.home-portfolio-section:not(#top):not(#business):not(#history):not(#contact):not(.bg-ink-950):not(.bg-ink-900):not(.text-paper-50) article.bg-ink-900 [class*="text-amber"],
body section.home-portfolio-section:not(#top):not(#business):not(#history):not(#contact):not(.bg-ink-950):not(.bg-ink-900):not(.text-paper-50) article.bg-amber-accent [class*="text-amber"],
body section.home-portfolio-section:not(#top):not(#business):not(#history):not(#contact):not(.bg-ink-950):not(.bg-ink-900):not(.text-paper-50) article[style*="#173061"] [class*="text-amber"] {
  color: #dbe7ff !important;
  opacity: 1 !important;
}

body section.home-portfolio-section:not(#top):not(#business):not(#history):not(#contact) article .bg-white\/8,
body section.home-portfolio-section:not(#top):not(#business):not(#history):not(#contact) article .bg-white\/10 {
  background-color: rgba(248, 250, 252, 0.15) !important;
  border-color: rgba(226, 232, 240, 0.34) !important;
}

body section.home-portfolio-section:not(#top):not(#business):not(#history):not(#contact) article .bg-white\/8 *,
body section.home-portfolio-section:not(#top):not(#business):not(#history):not(#contact) article .bg-white\/10 * {
  color: #ffffff !important;
  opacity: 1 !important;
}

/* Match the specialist card inline emphasis with its surrounding copy color. */
.value-card-specialists .value-card-copy-accent,
body section:not(#top):not(#business):not(#history):not(#contact) .value-card-specialists .value-card-copy-accent {
  color: #e6edf7 !important;
  font-weight: 700 !important;
  opacity: 1 !important;
}

/* History year badges should sit within the calm slate palette, not pure black. */
#history .tl-year {
  background: #536277 !important;
  border: 1px solid rgba(203, 213, 225, 0.28) !important;
  color: #ffffff !important;
  box-shadow: 0 14px 28px -24px rgba(15, 23, 42, 0.55) !important;
}

#history .tl-year.current {
  background: #64758d !important;
  border-color: rgba(203, 213, 225, 0.34) !important;
}

/* Final main service card contrast guard. */
body section:not(#top):not(#business):not(#history):not(#contact) .service-card,
body section:not(#top):not(#business):not(#history):not(#contact) .service-card[style],
body section:not(#top):not(#business):not(#history):not(#contact) .service-card.bg-ink-900,
body section:not(#top):not(#business):not(#history):not(#contact) .service-card.bg-ink-950,
body section:not(#top):not(#business):not(#history):not(#contact) .service-card.text-paper-50 {
  background: #ffffff !important;
  border: 1px solid rgba(83, 98, 119, 0.24) !important;
  color: #172033 !important;
}

body section:not(#top):not(#business):not(#history):not(#contact) .service-card .mesh-amber,
body section:not(#top):not(#business):not(#history):not(#contact) .service-card > .absolute.inset-0 {
  display: none !important;
}

body section:not(#top):not(#business):not(#history):not(#contact) .service-card h3,
body section:not(#top):not(#business):not(#history):not(#contact) .service-card .display,
body section:not(#top):not(#business):not(#history):not(#contact) .service-card b,
body section:not(#top):not(#business):not(#history):not(#contact) .service-card strong,
body section:not(#top):not(#business):not(#history):not(#contact) .service-card [class*="text-paper-50"],
body section:not(#top):not(#business):not(#history):not(#contact) .service-card [class*="text-white"],
body section:not(#top):not(#business):not(#history):not(#contact) .service-card [class*="text-ink-900"] {
  color: #0a1229 !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

body section:not(#top):not(#business):not(#history):not(#contact) .service-card p,
body section:not(#top):not(#business):not(#history):not(#contact) .service-card li,
body section:not(#top):not(#business):not(#history):not(#contact) .service-card span:not(.tag-chip),
body section:not(#top):not(#business):not(#history):not(#contact) .service-card [class*="text-paper-100"],
body section:not(#top):not(#business):not(#history):not(#contact) .service-card [class*="text-ink-700"],
body section:not(#top):not(#business):not(#history):not(#contact) .service-card [class*="text-ink-800"] {
  color: #344153 !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

body section:not(#top):not(#business):not(#history):not(#contact) .service-card [class*="text-amber"] {
  color: #536277 !important;
  opacity: 1 !important;
}

body section:not(#top):not(#business):not(#history):not(#contact) .service-card iconify-icon {
  color: #536277 !important;
  opacity: 1 !important;
}

body section:not(#top):not(#business):not(#history):not(#contact) .service-card .inline-flex:not(.tag-chip) {
  background: #eef2f6 !important;
  border-color: #cfd8e4 !important;
  color: #536277 !important;
}

body section:not(#top):not(#business):not(#history):not(#contact) .service-card .tag-chip {
  background: #536277 !important;
  border-color: rgba(83, 98, 119, 0.32) !important;
  color: #ffffff !important;
}

body section:not(#top):not(#business):not(#history):not(#contact) .service-card .dotline,
body section:not(#top):not(#business):not(#history):not(#contact) .service-card .h-px {
  background: rgba(83, 98, 119, 0.24) !important;
  opacity: 1 !important;
}

/* Main service cards are informational blocks, not links. */
.home-service-section .service-card {
  cursor: default !important;
}

.home-service-section .service-card:hover {
  transform: none !important;
}

/* Keep both hero proof badge labels on the same readable white tone. */
#top .hero-proof-badge,
#top .hero-proof-badge.hero-proof-badge--partner {
  color: #f8fbff !important;
  opacity: 1 !important;
}

#top .hero-proof-badge iconify-icon,
#top .hero-proof-badge.hero-proof-badge--partner iconify-icon {
  color: #f8fbff !important;
  opacity: 1 !important;
}

/* Contact modal form readability. */
.contact-modal {
  font-family: "Pretendard", "Noto Sans KR", system-ui, sans-serif !important;
}

.contact-modal-panel {
  background: #fffefb !important;
  border: 1px solid rgba(83, 98, 119, 0.22) !important;
  box-shadow: 0 28px 72px -36px rgba(15, 23, 42, 0.56) !important;
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
}

.contact-modal-head h2 {
  color: #25416d !important;
  font-size: clamp(1.5rem, 1.35vw, 1.68rem) !important;
  font-weight: 760 !important;
  letter-spacing: -0.01em !important;
  line-height: 1.25 !important;
}

.contact-modal-head iconify-icon {
  color: #25416d !important;
}

.contact-modal-label {
  color: #172033 !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  line-height: 1.35 !important;
}

.contact-modal-input {
  background: #f7f6f1 !important;
  border: 1px solid #cfd8e4 !important;
  border-radius: 0.82rem !important;
  color: #172033 !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  min-height: 3.65rem !important;
}

.contact-modal-input::placeholder {
  color: #7b8798 !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
  opacity: 1 !important;
}

.contact-modal-input:focus {
  background: #ffffff !important;
  border-color: #536277 !important;
  box-shadow: 0 0 0 3px rgba(83, 98, 119, 0.14) !important;
}

.contact-modal textarea.contact-modal-input {
  min-height: 11.5rem !important;
}

.contact-modal-chip {
  background: #eef2f6 !important;
  border: 1px solid #d6deea !important;
  color: #172033 !important;
  font-size: 0.92rem !important;
  font-weight: 650 !important;
  line-height: 1.25 !important;
  padding: 0.48rem 0.74rem !important;
}

.contact-modal-chip span {
  color: #172033 !important;
  opacity: 1 !important;
}

.contact-modal-chip input {
  accent-color: #536277;
  width: 1rem;
  height: 1rem;
}

.contact-modal-submit {
  background: #3f4e63 !important;
  color: #ffffff !important;
  font-size: 1.02rem !important;
  font-weight: 720 !important;
  letter-spacing: 0 !important;
  min-height: 4rem !important;
  box-shadow: 0 16px 34px -26px rgba(63, 78, 99, 0.62) !important;
}

.contact-modal-submit span,
.contact-modal-submit iconify-icon {
  color: #ffffff !important;
}

.contact-modal-note {
  color: #344153 !important;
  font-size: 0.94rem !important;
  font-weight: 500 !important;
  line-height: 1.6 !important;
  opacity: 1 !important;
}

.contact-form-feedback {
  min-height: 1.25rem;
  margin: 0;
  color: #5d6a7e;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.contact-form-feedback.is-success {
  color: #23705a;
}

.contact-form-feedback.is-error {
  color: #b23b4b;
}

[data-contact-form] button[disabled] {
  cursor: wait;
  opacity: 0.72;
}

.contact-modal-close {
  color: #172033 !important;
}

@media (max-width: 560px) {
  .contact-modal-panel {
    padding: 1.55rem !important;
  }

  .contact-modal-form .grid {
    grid-template-columns: 1fr !important;
  }
}

/* ============================================
   OVERFLOW AND RESPONSIVE HARDENING
   ============================================ */
#top .hero-stat-meta,
#top .hero-stat-row,
#top .hero-stat-row > span {
  min-width: 0;
}

#top .hero-stat-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: 0.75rem;
}

#top .hero-stat-value {
  text-align: right;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.ad-synergy-diagram {
  overflow: hidden;
}

.ad-synergy-diagram > .absolute.inset-x-0 {
  right: 2.8rem;
}

.ad-synergy-diagram .ad-synergy-plus {
  right: 0 !important;
}

body section.home-portfolio-section article .portfolio-logo {
  width: min(11.75rem, 100%) !important;
  min-width: 0 !important;
}

.value-card-growth .growth-mini-bar > span,
.value-card-growth .growth-mini-years > span {
  min-width: 0;
  font-size: 11px !important;
  line-height: 1.2 !important;
  white-space: nowrap;
}

.value-card-growth .growth-mini-bar > span {
  min-width: 28px !important;
  padding: 2px 3px !important;
}

@media (min-width: 1280px) {
  #top .hero-stat-row {
    grid-template-columns: max-content minmax(0, 1fr);
    gap: 0.5rem;
  }

  #top .hero-stat-label,
  #top .hero-stat-value {
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: keep-all;
  }
}

@media (max-width: 480px) {
  #top h1 {
    font-size: clamp(3rem, 15vw, 4rem) !important;
    overflow-wrap: anywhere;
  }

  #top .hero-stat-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.12rem;
  }

  #top .hero-stat-value {
    text-align: left;
  }
}

/* Keep the solution introduction to the intended two-line rhythm on desktop. */
#solution .solution-copy-lead {
  letter-spacing: -0.02em !important;
}
