.cd-page {
  --cd-navy: #0d2b43;
  --cd-blue: #006da9;
  --cd-red: #ce0038;
  --cd-line: #d6e7f2;
  color: var(--cd-navy);
  background: #fff;
}
.cd-page :is(h1,h2,h3) { color: inherit; font-family: Cuprum, sans-serif; }
.cd-page p { line-height: 1.75; }
.cd-page :focus-visible { outline: 2px solid var(--cd-blue); outline-offset: 5px; }
.cd-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: white;
  background: radial-gradient(ellipse at 89% 22%, #174f74, transparent 60%), #0a2237;
}
.cd-hero--contact { background: radial-gradient(ellipse at 90% 70%, #1c5772, transparent 54%), #0b293e; }
.cd-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: linear-gradient(#a9e0ff14 1px, transparent 1px), linear-gradient(90deg,#a9e0ff14 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, #0008, transparent 90%);
}
.cd-hero-inner {
  width: min(1260px, calc(100% - 64px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr);
  align-items: center;
  gap: clamp(30px, 5.5vw, 85px);
  padding-block: clamp(42px, 6vw, 86px);
}
.cd-hero-content { max-width: 540px; animation: cd-hero-in .65s ease-out both; }
.cd-hero-content nav { display: flex; gap: 12px; margin-bottom: 20px; color: #c9e4f7; font-size: .9rem; }
.cd-hero-content nav a { color: #b7e6ff; text-underline-offset: 5px; text-decoration: underline; }
.cd-hero h1 { margin: 0; color: #fff; font-size: clamp(53px, 7.7vw, 112px); line-height: .98; letter-spacing: -.045em; }
.cd-hero h1::after {
  content: "";
  display: block;
  width: 62px;
  height: 4px;
  margin-top: 19px;
  border-radius: 6px;
  background: linear-gradient(90deg,#4bc1ff,#fc4574);
}
.cd-hero p { margin: 20px 0 0; color: #e4f2fc; font-size: clamp(15px, 1.45vw, 19px); }
.cd-hero-actions { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; margin-top: 26px; }
.cd-hero .cd-hero-actions .cd-button { margin: 0; }
.cd-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 15px;
  color: #eff8ff;
  border: 1px solid #87b4d1;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  transition: background .2s;
}
.cd-hero-secondary:hover { color: #fff; background: #ffffff1a; }
.cd-hero :focus-visible { outline-color: #83d6ff; }
.cd-hero-photo {
  position: relative;
  isolation: isolate;
  margin: 0 9px 9px 0;
  animation: cd-hero-photo-in .8s .08s ease-out both;
}
.cd-hero-photo::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 10px -9px -9px 10px;
  border: 1px solid #79c8f7a8;
  border-right-color: #fa6b94;
  border-radius: inherit;
}
.cd-hero--about .cd-hero-photo { border-radius: 24px 62px 24px 24px; }
.cd-hero--contact .cd-hero-photo { border-radius: 72px 22px 22px 22px; }
.cd-hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.38;
  object-fit: cover;
  object-position: center 47%;
  border-radius: inherit;
  box-shadow: 0 18px 55px #0014287a;
}
.cd-hero--contact .cd-hero-photo img { object-position: center 42%; }
@keyframes cd-hero-photo-in {
  from { opacity: .35; transform: translateX(13px) scale(.98); }
  to { opacity: 1; transform: none; }
}
@media (max-width: 740px) {
  .cd-hero-inner { width: calc(100% - 40px); grid-template-columns: 1fr; gap: 30px; }
  .cd-hero-photo img { aspect-ratio: 1.48; }
  .cd-hero--about .cd-hero-photo { border-top-right-radius: 42px; }
  .cd-hero--contact .cd-hero-photo { border-top-left-radius: 42px; }
}

.cd-section { width: min(1180px, calc(100% - 44px)); margin-inline: auto; padding-block: clamp(54px, 8vw, 108px); scroll-margin-top: 12px; }
.cd-split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: clamp(26px,6vw,82px); }
.cd-page .cd-label { margin: 0 0 12px; color: #006598; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.cd-page .cd-section h2 { font-size: clamp(34px, 5vw, 57px); line-height: 1.04; margin: 0 0 20px; }
.cd-section p { color: #3c576d; }
.cd-button {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 13px 19px;
  margin-top: 12px;
  border-radius: 9px;
  background: var(--cd-red);
  color: white;
  font-size: 14px;
  font-weight: 700;
  transition: background .2s, transform .2s;
}
.cd-button:hover { background: #a7002c; color: white; transform: translateY(-2px); }
.cd-collage {
  position: relative;
  isolation: isolate;
  margin: 0;
  padding: 0 11% 10% 0;
}
.cd-collage::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 8% 2% 0 10%;
  border-radius: 30px;
  background: radial-gradient(ellipse at 75% 85%, #b5e6ffb0, transparent 58%);
}
.cd-collage-team {
  overflow: hidden;
  border-radius: 22px 42px 22px 22px;
  box-shadow: 0 18px 38px #193e5926;
}
.cd-collage-product {
  position: absolute;
  right: 0;
  bottom: 1%;
  width: 50%;
  overflow: hidden;
  border: clamp(3px, .5vw, 6px) solid #fff;
  border-radius: 17px;
  box-shadow: 0 14px 32px #112f4a35, 5px 5px #0074ad;
}
.cd-collage img, .cd-process-photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.cd-process-photo img { border-radius: 19px; }
@media (prefers-reduced-motion: no-preference) {
  .cd-collage.cd-enter .cd-collage-team img {
    animation: cd-team-settle 4.3s .15s ease-out both;
  }
  .cd-collage.cd-enter .cd-collage-product {
    animation: cd-inset-float 4.4s .28s ease-in-out both;
  }
  .cd-collage-team img { transition: scale .5s ease-out; }
  .cd-collage:hover .cd-collage-team img { scale: 1.035; }
}
@keyframes cd-team-settle {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}
@keyframes cd-inset-float {
  0% { transform: translateY(14px); opacity: 0; }
  18% { transform: translateY(0); opacity: 1; }
  57% { transform: translateY(-9px); }
  100% { transform: translateY(0); }
}
.cd-capabilities { background: #eff7fd; border-block: 1px solid #dbeaf5; }
.cd-heading { max-width: 690px; margin: 0 auto 32px; text-align: center; }
.cd-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); }
.cd-card {
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 2.7vw, 34px);
  border: 1px solid var(--cd-line);
  border-radius: 17px;
  background: white;
  box-shadow: 0 12px 35px #12324d0e;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.cd-card:hover { border-color: #8bc6e9; box-shadow: 0 17px 36px #12324d1a; transform: translateY(-4px); }
.cd-card i { display: grid; place-items: center; width: 45px; height: 45px; margin-bottom: 15px; border-radius: 11px; background: #e7f5ff; color: #0067a2; font-size: 23px; }
.cd-card h3, .cd-process h3 { margin: 0 0 9px; font-size: 26px; line-height: 1.13; }
.cd-card p { font-size: .94rem; }
.cd-card a { margin-top: auto; color: #00639a; font-weight: 700; font-size: .9rem; text-decoration: underline; text-underline-offset: 4px; }
.cd-card a span { color: var(--cd-red); }
.cd-process-photo img { aspect-ratio: 1.03; box-shadow: 10px 10px #e0f2fc; }
.cd-process ol { padding-left: 22px; }
.cd-process ol li { padding-left: 8px; margin-bottom: 12px; }
.cd-process ol li::marker { color: var(--cd-red); font-weight: 700; }
.cd-about-cta {
  width: min(1180px, calc(100% - 44px));
  margin-bottom: clamp(40px, 7vw, 85px);
  padding: clamp(28px, 6vw, 65px) 20px;
  text-align: center;
  border-radius: 22px;
  background: radial-gradient(ellipse at 80% 10%, #095d8b, transparent 60%), #102d47;
  color: white;
}
.cd-about-cta p { color: #d5eaf8; }
.cd-contact-cards .cd-card { padding: 0; overflow: hidden; }
.cd-contact-cards .cd-card img {
  display: block;
  flex: none;
  width: 100%;
  height: auto;
  aspect-ratio: 19 / 10;
}
.cd-contact-cards .cd-card > div { flex: 1; display: flex; flex-direction: column; align-items: flex-start; padding: clamp(18px, 2.7vw, 32px); }
.cd-contact-cards .cd-card:nth-child(2) img { order: 1; }
.cd-contact-cards .cd-card:first-child { background: #0f3654; color: #fff; border-color: #0f3654; }
.cd-contact-cards .cd-card:first-child p, .cd-contact-cards .cd-card:first-child a { color: #def2ff; }
.cd-contact-cards .cd-card:first-child a span { color: #ff91ac; }
.cd-page #contact { scroll-margin-top: 12px; }
.nh-nav > a[aria-current="page"] { color: #00699f; font-weight: 700; }
.nh-nav > a[aria-current="page"]::after { transform: scaleX(1); }
.cd-enter { animation: cd-hero-in .62s var(--cd-delay, 0ms) ease-out both; }
@keyframes cd-hero-in { from { opacity: 0; translate: 0 17px; } to { opacity: 1; translate: 0 0; } }
@media (max-width: 800px) {
  .cd-split { grid-template-columns: 1fr; }
  .cd-process-photo { order: 1; }
  .cd-cards { grid-template-columns: 1fr; }
  .cd-contact-cards .cd-card:nth-child(2) img { order: 0; }
  .cd-collage,.cd-process-photo { max-width: 590px; }
}
@media (prefers-reduced-motion: reduce) {
  .cd-hero-content,.cd-hero-photo,.cd-enter { animation: none; }
  .cd-page :is(.cd-button,.cd-card,.cd-hero-secondary) { transition: none; }
  .cd-page :is(.cd-button,.cd-card,.cd-hero-secondary):hover { transform: none; }
}

/* Inline icons keep the page independent of icon-font coverage. */
.cd-icon { display: inline-grid; place-items: center; flex-shrink: 0; line-height: 1; }
.cd-icon > svg { display: block; overflow: visible; }
.cd-hero-secondary .cd-icon { font-size: 17px; color: #b7e6ff; }
.cd-hero-light {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  inset: -36% -12%;
  background: radial-gradient(ellipse at 76% 40%, #128dcf42, transparent 36%),
              radial-gradient(ellipse at 46% 67%, #db25592b, transparent 25%);
}
.cd-hero--contact .cd-hero-light {
  background: radial-gradient(ellipse at 78% 65%, #078fd154, transparent 37%),
              radial-gradient(ellipse at 64% 22%, #db25593d, transparent 24%);
}
.cd-hero-symbol {
  position: absolute;
  left: 18px;
  bottom: 18px;
  width: clamp(48px, 5vw, 66px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid #80cbffad;
  border-radius: 17px;
  background: #0b2c44ed;
  color: #b2e3ff;
  font-size: clamp(23px, 3vw, 32px);
  box-shadow: 0 8px 24px #05152366;
}
.cd-hero--contact .cd-hero-symbol { left: auto; right: 18px; border-color: #ff81a0a8; color: #ffd6e1; }

@media (prefers-reduced-motion: no-preference) {
  .cd-hero-light { animation: cd-light-drift 8s ease-in-out infinite alternate; }
  .cd-hero--contact .cd-hero-light { animation-direction: alternate-reverse; }
  .cd-hero-content { animation: none; }
  .cd-hero-content > * { animation: cd-hero-in .65s ease-out both; }
  .cd-hero-content > h1 { animation-delay: .08s; }
  .cd-hero-content > p { animation-delay: .16s; }
  .cd-hero-content > .cd-hero-actions { animation-delay: .24s; }
  .cd-hero-photo img { animation: cd-image-reveal .95s .12s ease-out both; }
  .cd-hero--contact .cd-hero-photo img { animation-name: cd-image-rise; }
  .cd-hero-symbol { animation: cd-symbol-enter .6s .52s both; }
  .cd-hero-symbol .cd-icon { animation: cd-icon-lift 2.5s .95s ease-in-out 2; }
  .cd-card.cd-enter .cd-icon { animation: cd-symbol-enter .5s calc(var(--cd-delay, 0ms) + .14s) both; }
  .cd-card:hover .cd-icon > svg, .cd-card:focus-within .cd-icon > svg { animation: cd-icon-lift .45s ease-out; }
  .cd-hero-secondary:hover .cd-icon, .cd-hero-secondary:focus-visible .cd-icon { animation: cd-phone-wiggle .5s ease-in-out; }
}
@keyframes cd-light-drift { to { transform: translate(-6%, 5%) scale(1.13); } }
@keyframes cd-image-reveal { from { clip-path: inset(0 18% 0 0 round 20px); filter: brightness(.76); } to { clip-path: inset(0 round 0); filter: none; } }
@keyframes cd-image-rise { from { transform: translateY(11px); filter: brightness(.76); } to { transform: none; filter: none; } }
@keyframes cd-symbol-enter { from { opacity: 0; transform: translateY(8px) scale(.82); } to { opacity: 1; transform: none; } }
@keyframes cd-icon-lift { 50% { transform: translateY(-3px); } }
@keyframes cd-phone-wiggle { 30% { transform: rotate(-12deg); } 65% { transform: rotate(10deg); } }
