:root {
  --pb-refresh-page: #090d13;
  --pb-refresh-surface: #101720;
  --pb-refresh-surface-raised: #151f29;
  --pb-refresh-text: #f4f7fa;
  --pb-refresh-muted: #b6c1cb;
  --pb-refresh-line: rgba(195, 216, 229, 0.16);
  --pb-refresh-cyan: #62cbed;
  --pb-refresh-blue: #5578c9;
  --pb-refresh-warm: #e58b71;
}

body[data-page-scope] {
  background: var(--pb-refresh-page);
  color: var(--pb-refresh-text);
}

body[data-page-scope] *,
body[data-page-scope] *::before,
body[data-page-scope] *::after {
  box-sizing: border-box;
}

body[data-page-scope] .page-shell {
  min-height: 100vh;
  background: var(--pb-refresh-page);
  color: var(--pb-refresh-text);
}

body[data-page-scope] .site-skip-link:not([hidden]) {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  transform: translateY(calc(-100% - 16px));
  border: 1px solid var(--pb-refresh-cyan);
  background: var(--pb-refresh-page);
  color: var(--pb-refresh-text);
  font-weight: 700;
  text-decoration: none;
}

body[data-page-scope] .site-skip-link:focus {
  transform: translateY(0);
}

body[data-page-scope] :is(h1, h2, h3) {
  text-wrap: balance;
}

body[data-page-scope] :is(a, button, input, textarea):focus-visible {
  outline: 3px solid var(--pb-refresh-cyan);
  outline-offset: 4px;
}

body[data-page-scope] main :is(.primary-btn, .secondary-btn, .dark-mini-btn, .contact-submit-btn, .newsletter-btn) {
  position: relative;
  transition:
    color 180ms ease-out,
    background-color 180ms ease-out,
    border-color 180ms ease-out,
    box-shadow 220ms ease-out,
    transform 160ms ease-out;
}

body[data-page-scope] main :is(.primary-btn, .secondary-btn, .dark-mini-btn, .contact-submit-btn, .newsletter-btn)::after {
  position: absolute;
  right: 14px;
  bottom: 5px;
  left: 14px;
  height: 2px;
  background: currentColor;
  content: "";
  opacity: 0.65;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

body[data-page-scope] main :is(.primary-btn, .secondary-btn, .dark-mini-btn, .contact-submit-btn, .newsletter-btn):is(:hover, :focus-visible)::after {
  transform: scaleX(1);
}

@media (hover: hover) and (pointer: fine) {
  body[data-page-scope] main :is(.primary-btn, .secondary-btn, .dark-mini-btn, .contact-submit-btn, .newsletter-btn):is(:hover, :focus-visible) {
    transform: none;
  }
}

body[data-page-scope] main :is(.primary-btn, .secondary-btn, .dark-mini-btn, .contact-submit-btn, .newsletter-btn):active {
  transform: scale(0.985);
}

body[data-page-scope] main article.solution-card {
  transition:
    border-color 220ms ease-out,
    background-color 220ms ease-out,
    box-shadow 220ms ease-out;
}

body[data-page-scope] main article.solution-card .card-image {
  transform: scale(1.01);
  transition:
    transform 520ms cubic-bezier(0.2, 0.75, 0.25, 1),
    filter 320ms ease-out,
    opacity 320ms ease-out;
}

body[data-page-scope] main article.solution-card:is(:hover, :focus-visible, :focus-within) {
  transform: none;
  border-color: rgba(98, 203, 237, 0.62);
  box-shadow: 0 12px 30px rgba(2, 8, 14, 0.2);
}

body[data-page-scope] main article.solution-card:is(:hover, :focus-visible, :focus-within) .card-image {
  transform: scale(1.055);
  filter: saturate(0.95);
  opacity: 0.82;
}

body[data-page-scope] main {
  color: var(--pb-refresh-text);
}

body[data-page-scope] main :is(p, li) {
  text-wrap: pretty;
}

body[data-page-scope] .footer {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px clamp(24px, 6vw, 96px);
  padding: 56px clamp(20px, 7vw, 104px) 40px;
  border-top: 1px solid var(--pb-refresh-line);
  background: #0c1118;
}

body[data-page-scope] .footer .footer-brand p,
body[data-page-scope] .footer .footer-links a,
body[data-page-scope] .footer .footer-ack-text {
  color: #aebac4;
}

body[data-page-scope] .footer .footer-links a {
  text-decoration-color: transparent;
  text-underline-offset: 0.24em;
  transition:
    color 160ms ease,
    text-decoration-color 160ms ease;
}

body[data-page-scope] .footer .footer-links a:hover,
body[data-page-scope] .footer .footer-links a:focus-visible {
  color: var(--pb-refresh-text);
  text-decoration-color: var(--pb-refresh-cyan);
}

body[data-page-scope] .footer .brand-mark-2 {
  margin-left: 0;
}

body[data-page-scope] .footer .social-link {
  border-color: var(--pb-refresh-line);
  transition:
    border-color 180ms ease-out,
    background-color 180ms ease-out,
    transform 160ms ease-out;
}

body[data-page-scope] .footer .social-link:is(:hover, :focus-visible) {
  transform: none;
  border-color: rgba(98, 203, 237, 0.6);
  background-color: rgba(98, 203, 237, 0.1);
}

body[data-page-scope] .footer .footer-ack {
  padding-top: 20px;
  border-top: 1px solid var(--pb-refresh-line);
}

/* Home */
body[data-page-scope="home"] .home-main .hero {
  min-height: min(760px, calc(100svh - 78px));
  background-color: var(--pb-refresh-page);
  background-image:
    linear-gradient(
      90deg,
      rgba(7, 11, 16, 0.98) 0%,
      rgba(7, 11, 16, 0.94) 31%,
      rgba(7, 11, 16, 0.72) 48%,
      rgba(7, 11, 16, 0.12) 78%,
      rgba(7, 11, 16, 0.08) 100%
    ),
    url("/assets/Home_HeroImage-BisnAjh9.jpg") !important;
  background-position: center, 60% center;
  background-size: cover;
  box-shadow: inset 0 -1px 0 var(--pb-refresh-line);
}

body[data-page-scope="home"] .home-main .hero::before {
  background:
    linear-gradient(90deg, transparent 0 5.5%, rgba(98, 203, 237, 0.22) 5.55%, transparent 5.62%),
    linear-gradient(180deg, transparent 90%, rgba(98, 203, 237, 0.13));
}

body[data-page-scope="home"] .home-main .hero-copy {
  width: min(1240px, calc(100% - 48px));
  max-width: none;
  min-width: 0;
  margin-inline: auto;
  padding: clamp(64px, 8vh, 96px) 0;
  color: var(--pb-refresh-text);
}

body[data-page-scope="home"] .home-main .hero-copy-panel {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

body[data-page-scope="home"] .home-main .hero-copy-panel h1 {
  margin: 0;
  max-width: 9.5ch;
  color: var(--pb-refresh-text);
  font-size: clamp(3.4rem, 7.5vw, 7.3rem);
  line-height: 0.94;
  letter-spacing: -0.075em;
}

body[data-page-scope="home"] .home-main .hero-text {
  max-width: 34ch;
  margin-top: 24px;
  color: #d3dde5;
  font-size: clamp(1.05rem, 1.6vw, 1.32rem);
  line-height: 1.55;
}

body[data-page-scope="home"] .home-main .hero .hero-copy-panel .hero-text {
  color: #d3dde5;
}

body[data-page-scope="home"] .home-main .hero-actions {
  margin-top: 12px;
}

body[data-page-scope="home"] .home-main :is(.primary-btn, .secondary-btn) {
  min-height: 52px;
  padding: 14px 24px;
  border-radius: 3px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-decoration: none;
  box-shadow: none;
}

body[data-page-scope="home"] .home-main .primary-btn {
  border: 1px solid var(--pb-refresh-cyan);
  background: var(--pb-refresh-cyan);
  color: #08121a;
}

body[data-page-scope="home"] .home-main .primary-btn:hover,
body[data-page-scope="home"] .home-main .primary-btn:focus-visible {
  border-color: #9ce8fa;
  background: #9ce8fa;
  box-shadow: 0 8px 26px rgba(98, 203, 237, 0.2);
}

body[data-page-scope="home"] .home-main .secondary-btn {
  border: 1px solid rgba(98, 203, 237, 0.72);
  background: rgba(9, 13, 19, 0.24);
  color: var(--pb-refresh-text);
}

body[data-page-scope="home"] .home-main .secondary-btn:hover,
body[data-page-scope="home"] .home-main .secondary-btn:focus-visible {
  border-color: var(--pb-refresh-cyan);
  background: rgba(98, 203, 237, 0.12);
  color: var(--pb-refresh-text);
}

body[data-page-scope="home"] .home-main .value-section {
  padding-block: clamp(64px, 9vw, 120px);
  border-bottom: 1px solid var(--pb-refresh-line);
  background:
    linear-gradient(110deg, rgba(28, 47, 62, 0.35), transparent 58%),
    #101720;
}

body[data-page-scope="home"] .home-main .value-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.75fr);
  align-items: end;
  gap: clamp(28px, 8vw, 120px);
}

body[data-page-scope="home"] .home-main .value-heading .section-kicker,
body[data-page-scope="home"] .home-main .section-kicker {
  color: var(--pb-refresh-cyan);
}

body[data-page-scope="home"] .home-main .value-heading h2 {
  max-width: 15ch;
  margin: 10px 0 0;
  color: var(--pb-refresh-text);
  font-size: clamp(2.4rem, 5vw, 4.7rem);
  line-height: 1.02;
  letter-spacing: -0.065em;
}

body[data-page-scope="home"] .home-main .value-grid .section-copy {
  margin: 0;
  color: var(--pb-refresh-muted);
  font-size: 1rem;
  line-height: 1.8;
}

body[data-page-scope="home"] .home-main .cards-section {
  padding-block: clamp(56px, 8vw, 104px);
  background: var(--pb-refresh-page);
}

body[data-page-scope="home"] .home-main .cards-section .section-shell {
  width: min(1240px, calc(100% - 40px));
}

body[data-page-scope="home"] .home-main .cards-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

body[data-page-scope="home"] .home-main .solution-card {
  min-height: 350px;
  grid-column: span 2;
  border: 1px solid var(--pb-refresh-line);
  border-radius: 3px;
  background: var(--pb-refresh-surface);
  box-shadow: none;
}

body[data-page-scope="home"] .home-main .solution-card:nth-child(-n + 2) {
  grid-column: span 3;
  min-height: 390px;
}

body[data-page-scope="home"] .home-main .solution-card .card-image {
  opacity: 0.66;
  filter: saturate(0.7);
}

body[data-page-scope="home"] .home-main .solution-card:nth-child(1) .card-image {
  background-image: url("/assets/ai-generated/server-room.webp") !important;
}

body[data-page-scope="home"] .home-main .solution-card:nth-child(2) .card-image {
  background-image: url("/assets/ai-generated/systems-analyst.webp") !important;
}

body[data-page-scope="home"] .home-main .solution-card:nth-child(3) .card-image {
  background-image: url("/assets/ai-generated/office-team.webp") !important;
}

body[data-page-scope="home"] .home-main .solution-card:nth-child(4) .card-image {
  background-image: url("/assets/ai-generated/server-technician.webp") !important;
}

body[data-page-scope="home"] .home-main .solution-card:nth-child(5) .card-image {
  background-image: url("/assets/ai-generated/server-circuits.webp") !important;
}

body[data-page-scope="home"] .home-main .solution-card .card-overlay {
  background: linear-gradient(180deg, transparent 18%, rgba(6, 10, 15, 0.96) 100%);
}

body[data-page-scope="home"] .home-main .solution-card .card-body {
  padding: 24px;
}

body[data-page-scope="home"] .home-main .solution-card .card-body h3 {
  color: var(--pb-refresh-text);
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  letter-spacing: -0.045em;
}

body[data-page-scope="home"] .home-main .solution-card .card-body p {
  color: #c1ccd5;
  font-size: 0.9rem;
}

body[data-page-scope="home"] .home-main .cta-section {
  padding-block: 0 clamp(56px, 8vw, 104px);
  background: var(--pb-refresh-page);
}

body[data-page-scope="home"] .home-main .cta-shell {
  width: min(calc(100% - 40px), 1240px);
  margin-inline: auto;
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid var(--pb-refresh-line);
  border-left: 3px solid var(--pb-refresh-cyan);
  border-radius: 0;
  background:
    linear-gradient(100deg, rgba(98, 203, 237, 0.08), transparent 55%),
    var(--pb-refresh-surface);
  box-shadow: none;
}

body[data-page-scope="home"] .home-main .cta-shell h2 {
  color: var(--pb-refresh-text);
}

body[data-page-scope="home"] .home-main .cta-shell .section-copy {
  color: var(--pb-refresh-muted);
}

body[data-page-scope="home"] .home-main .partners-section {
  padding-block: 28px 56px;
  border-block: 1px solid var(--pb-refresh-line);
  background:
    linear-gradient(
      90deg,
      rgba(134, 48, 43, 0.22),
      rgba(29, 103, 223, 0.08)
    ),
    rgba(17, 20, 28, 0.88);
}

body[data-page-scope="home"] .home-main .tech-domains-strip {
  width: min(calc(100% - 40px), 1120px);
  margin-inline: auto;
  padding: clamp(14px, 2vw, 22px) 0;
  gap: clamp(10px, 2vw, 28px);
  border: 0;
  border-radius: 0;
  background: transparent;
}

body[data-page-scope="home"] .home-main .partners-section .tech-domains-label {
  margin-top: 20px;
  color: var(--pb-refresh-muted);
}

body[data-page-scope="home"] .home-main .tech-domain-logo {
  max-width: min(190px, 100%);
  max-height: 48px;
  object-fit: contain;
  filter: none;
  opacity: 1;
}

body[data-page-scope="home"] .home-main .tech-domain-logo:is(
  [alt="Microsoft SQL Server"],
  [alt="PyTorch"]
) {
  filter: brightness(0) invert(1);
}

/* Solutions */
body[data-page-scope="solutions"] .solutions-hero {
  padding: 0;
  background: var(--pb-refresh-page);
}

body[data-page-scope="solutions"] .solutions-hero-panel {
  min-height: clamp(420px, 56vh, 620px);
  padding: clamp(56px, 9vw, 128px) max(var(--pb-content-gutter), calc((100% - 1240px) / 2));
  border-bottom: 1px solid var(--pb-refresh-line);
  background-image:
    linear-gradient(90deg, rgba(9, 13, 19, 0.98), rgba(9, 13, 19, 0.8) 44%, rgba(9, 13, 19, 0.2)),
    var(--solutions-hero-bg);
}

body[data-page-scope="solutions"] .solutions-hero-panel .section-kicker {
  color: var(--pb-refresh-cyan);
}

body[data-page-scope="solutions"] .solutions-hero-panel h1 {
  max-width: 12ch;
  margin: 16px 0;
  font-size: clamp(3rem, 6.7vw, 6.4rem);
  line-height: 0.98;
  letter-spacing: -0.07em;
}

body[data-page-scope="solutions"] .solutions-hero-panel .hero-text {
  max-width: 43ch;
  color: #c5d0da;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}

body[data-page-scope="solutions"] .solution-rows {
  padding: 32px max(20px, calc((100% - 1240px) / 2)) 64px;
  background: var(--pb-refresh-page);
}

body[data-page-scope="solutions"] .solution-row {
  max-width: none;
  min-height: 390px;
  gap: clamp(32px, 6vw, 88px);
  padding: clamp(36px, 6vw, 76px) 0;
  border-bottom: 1px solid var(--pb-refresh-line);
}

body[data-page-scope="solutions"] .solution-row + .solution-row {
  border-top: 0;
}

body[data-page-scope="solutions"] .solution-copy {
  max-width: 480px;
}

body[data-page-scope="solutions"] .solution-copy h2 {
  color: var(--pb-refresh-text);
  font-size: clamp(2rem, 3.7vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: -0.06em;
}

body[data-page-scope="solutions"] .solution-copy p {
  color: var(--pb-refresh-muted);
  font-size: 1rem;
  line-height: 1.75;
}

body[data-page-scope="solutions"] .solution-media {
  padding: 10px;
  border: 1px solid var(--pb-refresh-line);
  background: #101720;
}

body[data-page-scope="solutions"] .solution-image {
  min-height: 300px;
  aspect-ratio: 1.55;
  background-color: #111922;
  background-position: center;
  background-size: cover;
}

body[data-page-scope="solutions"] .solution-row:nth-of-type(5) .solution-image {
  background-image: url("/assets/solutions-obsolescence-maintenance.webp") !important;
}

body[data-page-scope="solutions"] .dark-mini-btn {
  min-height: 44px;
  padding: 11px 15px;
  border: 1px solid rgba(98, 203, 237, 0.55);
  border-radius: 2px;
  background: transparent;
  color: var(--pb-refresh-text);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    color 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease;
}

body[data-page-scope="solutions"] .dark-mini-btn:hover,
body[data-page-scope="solutions"] .dark-mini-btn:focus-visible {
  border-color: var(--pb-refresh-cyan);
  background: rgba(98, 203, 237, 0.14);
  color: var(--pb-refresh-text);
}

body[data-page-scope="solutions"] .solutions-cta {
  padding-block: 20px 72px;
  background: var(--pb-refresh-page);
}

body[data-page-scope="solutions"] .solutions-cta-shell {
  padding: clamp(30px, 5vw, 64px);
  border: 1px solid var(--pb-refresh-line);
  border-radius: 3px;
  background: var(--pb-refresh-surface);
  box-shadow: none;
}

/* About */
body[data-page-scope="about"] .about-hero {
  min-height: clamp(480px, 62vw, 700px);
}

body[data-page-scope="about"] .about-hero-image {
  background-position: center 42%;
}

body[data-page-scope="about"] .about-hero-copy {
  padding: 180px max(var(--pb-content-gutter), calc((100% - 1240px) / 2)) 56px;
  background: linear-gradient(0deg, rgba(7, 11, 16, 0.96), rgba(7, 11, 16, 0.65) 58%, transparent);
}

body[data-page-scope="about"] .about-hero-copy h1 {
  max-width: 14ch;
  font-size: clamp(3rem, 6vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.07em;
}

body[data-page-scope="about"] .about-hero-copy p {
  max-width: 62ch;
  margin-top: 20px;
  color: #d2dbe3;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}

body[data-page-scope="about"] .about-feature-band {
  display: flex;
  gap: 14px;
  padding: clamp(48px, 7vw, 88px) max(20px, calc((100% - 1240px) / 2));
  background-color: #0d131a;
}

body[data-page-scope="about"] .about-feature-band::after {
  display: none;
}

body[data-page-scope="about"] .about-feature-card {
  container-type: inline-size;
  flex: 1 1 0%;
  min-width: 0;
  overflow: hidden;
  padding: 14px;
  border: 1px solid var(--pb-refresh-line);
  background: rgba(14, 21, 29, 0.9);
  cursor: default;
  transition:
    flex-grow 420ms cubic-bezier(0.2, 0.7, 0.2, 1),
    border-color 220ms ease,
    background-color 220ms ease;
}

@media (hover: hover) and (pointer: fine) {
  body[data-page-scope="about"] .about-feature-card:is(:hover, :focus-within) {
    flex-grow: 2;
    border-color: rgba(98, 203, 237, 0.62);
    background-color: rgba(20, 32, 42, 0.96);
  }
}

body[data-page-scope="about"] .about-feature-image {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  min-width: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: #1a2834;
  background-position: center top;
  background-size: contain;
  background-repeat: no-repeat;
}

body[data-page-scope="about"] .about-feature-card:hover .about-feature-image {
  transform: scale(1.05);
}

body[data-page-scope="about"] .about-feature-card h2 {
  margin: 8px 4px 0;
  color: var(--pb-refresh-text);
  font-size: clamp(1.3rem, 6cqi, 2rem);
  line-height: 1.12;
  overflow-wrap: anywhere;
}

body[data-page-scope="about"] .about-feature-card p {
  margin: 0 4px 8px;
  color: var(--pb-refresh-muted);
  font-size: clamp(0.95rem, 3.2cqi, 1.05rem);
  line-height: 1.6;
  overflow-wrap: anywhere;
}

body[data-page-scope="about"] .about-overview {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px clamp(32px, 7vw, 96px);
  padding: clamp(56px, 8vw, 104px) max(20px, calc((100% - 1120px) / 2));
  border-block: 1px solid var(--pb-refresh-line);
  background: #101720;
  color: var(--pb-refresh-text);
}

body[data-page-scope="about"] .about-brand-logo {
  width: min(440px, 54vw);
  opacity: 0.12;
}

body[data-page-scope="about"] .about-overview-copy h2 {
  color: var(--pb-refresh-text);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.12;
}

body[data-page-scope="about"] .about-overview-copy p,
body[data-page-scope="about"] .about-highlight-item p {
  color: var(--pb-refresh-muted);
  line-height: 1.75;
}

body[data-page-scope="about"] .about-highlights {
  display: grid;
  align-content: center;
  gap: 8px;
}

body[data-page-scope="about"] .about-highlight-item {
  border-bottom: 1px solid var(--pb-refresh-line);
}

body[data-page-scope="about"] .about-contact {
  padding: clamp(52px, 8vw, 96px) 20px;
  background: #0c1118;
  color: var(--pb-refresh-text);
}

body[data-page-scope="about"] .about-contact-grid {
  gap: 12px;
}

body[data-page-scope="about"] .about-contact-item {
  min-height: 88px;
  border: 1px solid var(--pb-refresh-line);
  background: #111922;
}

body[data-page-scope="about"] .about-contact-item p,
body[data-page-scope="about"] .about-contact-item strong {
  color: var(--pb-refresh-text);
  overflow-wrap: anywhere;
}

body[data-page-scope="about"] .about-map {
  padding: 0 max(20px, calc((100% - 1240px) / 2)) 72px;
  background: #0c1118;
}

body[data-page-scope="about"] .about-map-card {
  border: 1px solid var(--pb-refresh-line);
  background: var(--pb-refresh-surface);
}

body[data-page-scope="about"] .about-map-info {
  background: var(--pb-refresh-surface);
  color: var(--pb-refresh-text);
}

body[data-page-scope="about"] .about-map-info p {
  color: var(--pb-refresh-muted);
}

body[data-page-scope="about"] main :is(.about-hero-copy, .about-feature-card, .about-overview, .about-highlights, .about-contact, .about-map, .about-map-overlay, .about-map-info) :is(h1, h2, h3, p, span, strong, a, li) {
  color: #fff;
}

body[data-page-scope="about"] .about-map-overlay {
  background: rgba(9, 13, 19, 0.92);
  color: #fff;
}

body[data-page-scope="about"] main :is(.about-highlight-icon, .about-contact-icon) {
  filter: brightness(0) invert(1);
}

/* Case studies */
body[data-page-scope="case-studies"] .case-hero {
  min-height: clamp(460px, 58vw, 640px);
  background-color: #091018;
  background-blend-mode: multiply;
  background-image:
    linear-gradient(90deg, rgba(7, 11, 16, 0.9), rgba(7, 11, 16, 0.4) 72%, transparent),
    url("/assets/CaseStudies_Hero-DlMUYG2O.jpg") !important;
}

body[data-page-scope="case-studies"] .case-hero-overlay {
  padding: 64px max(var(--pb-content-gutter), calc((100% - 1240px) / 2));
  background: linear-gradient(90deg, rgba(7, 11, 16, 0.9), rgba(7, 11, 16, 0.4) 72%, transparent);
}

body[data-page-scope="case-studies"] .case-hero-overlay h1 {
  max-width: 12ch;
  font-size: clamp(3rem, 6.7vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.07em;
  text-shadow: none;
}

body[data-page-scope="case-studies"] .case-hero-overlay p {
  max-width: 46ch;
  color: #d0dbe4;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}

body[data-page-scope="case-studies"] .case-hero-dots {
  gap: 8px;
  margin-top: 28px;
}

body[data-page-scope="case-studies"] .case-hero-dots span {
  width: 22px;
  height: 3px;
  border-radius: 0;
  background: var(--pb-refresh-cyan);
}

body[data-page-scope="case-studies"] .case-studies-wrap {
  gap: 0;
  padding: 16px max(20px, calc((100% - 1240px) / 2)) 48px;
  background: var(--pb-refresh-page);
  color: var(--pb-refresh-text);
}

body[data-page-scope="case-studies"] .case-study {
  max-width: none;
  gap: clamp(28px, 6vw, 88px);
  padding: clamp(38px, 6vw, 80px) 0;
  border: 0;
  border-bottom: 1px solid var(--pb-refresh-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body[data-page-scope="case-studies"] .case-study-media {
  padding: 10px;
  border: 1px solid var(--pb-refresh-line);
  background: #111922;
}

body[data-page-scope="case-studies"] .case-study-image {
  min-height: 320px;
  background-color: #121b24;
  background-size: cover;
}

body[data-page-scope="case-studies"] .case-study:nth-of-type(1) .case-study-image {
  background-image: url("/assets/CaseStudies_card1-DNhqYoZw.jpg") !important;
}

body[data-page-scope="case-studies"] .case-study:nth-of-type(2) .case-study-image {
  background-image: url("/assets/CaseStudies_card2-CtIs-1IO.jpg") !important;
}

body[data-page-scope="case-studies"] .case-study-kicker {
  color: var(--pb-refresh-cyan);
}

body[data-page-scope="case-studies"] .case-study-copy h2 {
  color: var(--pb-refresh-text);
  font-size: clamp(2rem, 3.8vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: -0.06em;
}

body[data-page-scope="case-studies"] .case-study-lead,
body[data-page-scope="case-studies"] .case-study-copy li {
  color: var(--pb-refresh-muted);
  font-size: 1rem;
  line-height: 1.75;
}

body[data-page-scope="case-studies"] .case-study-copy li::marker {
  color: var(--pb-refresh-cyan);
}

body[data-page-scope="case-studies"] .case-study-quote {
  margin-top: 24px;
  padding: 16px 20px;
  border-left: 2px solid var(--pb-refresh-warm);
  background: rgba(255, 255, 255, 0.035);
  color: var(--pb-refresh-text);
}

body[data-page-scope="case-studies"] .case-study:nth-of-type(2) .case-study-quote {
  border-left-color: var(--accent-red);
}

body[data-page-scope="case-studies"] .case-study-quote p {
  margin-bottom: 0;
}

body[data-page-scope="case-studies"] .case-summary {
  gap: 28px;
  margin: 0 auto 72px;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--pb-refresh-line);
  background: #101720;
  color: var(--pb-refresh-text);
}

body[data-page-scope="case-studies"] .case-summary-card {
  padding-top: 18px;
  border-color: rgba(98, 203, 237, 0.5);
}

body[data-page-scope="case-studies"] .case-summary h3 {
  color: var(--pb-refresh-text);
}

body[data-page-scope="case-studies"] .case-summary p {
  color: var(--pb-refresh-muted);
}

body[data-page-scope="case-studies"] .case-summary-actions .primary-btn {
  background: var(--pb-refresh-cyan);
  color: #08121a;
}

/* Contact */
body[data-page-scope="contact"] .contact-panel {
  padding: clamp(32px, 6vw, 80px) 20px;
  background:
    radial-gradient(ellipse at 86% 22%, rgba(85, 120, 201, 0.12), transparent 28%),
    var(--pb-refresh-page);
}

body[data-page-scope="contact"] .contact-panel-inner {
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.72fr);
  gap: clamp(24px, 5vw, 72px);
  width: min(1240px, 100%);
  margin-inline: auto;
  padding: 0;
  background: transparent;
}

body[data-page-scope="contact"] .contact-copy {
  padding: clamp(24px, 4vw, 52px);
  border: 1px solid var(--pb-refresh-line);
  background: #101720;
}

body[data-page-scope="contact"] .contact-copy h1 {
  max-width: 12ch;
  font-size: clamp(2.7rem, 5vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.07em;
}

body[data-page-scope="contact"] .contact-copy > p {
  max-width: 58ch;
  margin-top: 18px;
  color: var(--pb-refresh-muted);
  font-size: 1rem;
  line-height: 1.75;
}

body[data-page-scope="contact"] .contact-form {
  gap: 12px;
  margin-top: 30px;
}

body[data-page-scope="contact"] .contact-form-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas:
    "email-label telephone-label"
    "email telephone";
  gap: 8px 14px;
}

body[data-page-scope="contact"] #contact-email {
  grid-area: email;
}

body[data-page-scope="contact"] label[for="contact-email"] {
  grid-area: email-label;
}

body[data-page-scope="contact"] #contact-telephone {
  grid-area: telephone;
}

body[data-page-scope="contact"] label[for="contact-telephone"] {
  grid-area: telephone-label;
}

body[data-page-scope="contact"] .contact-field-label {
  display: block;
  margin: 4px 0 0;
  color: #d5e0e8;
  font-size: 0.82rem;
  font-weight: 700;
}

body[data-page-scope="contact"] .contact-form input,
body[data-page-scope="contact"] .contact-form textarea,
body[data-page-scope="contact"] .newsletter-card input {
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(195, 216, 229, 0.22);
  border-radius: 2px;
  background: #0b1118;
  color: var(--pb-refresh-text);
}

body[data-page-scope="contact"] .contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

body[data-page-scope="contact"] .contact-form input::placeholder,
body[data-page-scope="contact"] .contact-form textarea::placeholder,
body[data-page-scope="contact"] .newsletter-card input::placeholder {
  color: #8998a5;
}

body[data-page-scope="contact"] .contact-submit-btn,
body[data-page-scope="contact"] .newsletter-btn {
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid var(--pb-refresh-cyan);
  border-radius: 2px;
  background: var(--pb-refresh-cyan);
  color: #08121a;
  font-weight: 800;
  cursor: pointer;
  transition:
    background-color 160ms ease,
    border-color 160ms ease;
}

body[data-page-scope="contact"] .contact-submit-btn:disabled,
body[data-page-scope="contact"] .newsletter-btn:disabled {
  border-color: #657581;
  background: #34434f;
  color: #f4f7fa;
}

body[data-page-scope="contact"] .newsletter-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-self: stretch;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(98, 203, 237, 0.36);
  border-radius: 0;
  background:
    linear-gradient(160deg, rgba(85, 120, 201, 0.16), transparent 62%),
    #121a24;
}

body[data-page-scope="contact"] .newsletter-card h2 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
}

body[data-page-scope="contact"] .newsletter-card p {
  color: var(--pb-refresh-muted);
  font-size: 0.95rem;
}

body[data-page-scope="contact"] .newsletter-card .contact-field-label {
  margin-bottom: 8px;
}

body[data-page-scope="contact"] .newsletter-card .form-delivery-note {
  overflow-wrap: anywhere;
}

body[data-page-scope="contact"] .contact-map-section {
  padding: 0 20px clamp(48px, 7vw, 88px);
  background: var(--pb-refresh-page);
}

body[data-page-scope="contact"] .contact-map-card {
  overflow: hidden;
  width: min(1240px, 100%);
  margin-inline: auto;
  border: 1px solid var(--pb-refresh-line);
  background: #101720;
}

body[data-page-scope="contact"] .contact-map-card :is(h2, h3, p) {
  color: var(--pb-refresh-text);
}

body[data-page-scope="contact"] .contact-map-card p {
  color: var(--pb-refresh-muted);
}

body[data-page-scope="contact"] .contact-map-visual {
  min-height: 360px;
  background-color: #17212b;
}

body[data-page-scope="contact"] .contact-direct-email,
body[data-page-scope="contact"] .form-delivery-note {
  color: var(--pb-refresh-muted);
  overflow-wrap: anywhere;
}

body[data-page-scope="contact"] .contact-direct-email a,
body[data-page-scope="contact"] .form-delivery-note a {
  color: #8cdef4;
}

@media (max-width: 900px) {
  body[data-page-scope="home"] .home-main .hero {
    min-height: 640px;
    background-position: center, 62% center;
  }

  body[data-page-scope="home"] .home-main .hero-copy-panel {
    width: min(100%, 700px);
    padding-inline: 0;
  }

  body[data-page-scope="home"] .home-main .value-grid {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 20px;
  }

  body[data-page-scope="home"] .home-main .solution-card,
  body[data-page-scope="home"] .home-main .solution-card:nth-child(-n + 2) {
    min-height: 330px;
  }

  body[data-page-scope="about"] .about-overview {
    grid-template-columns: 1fr;
  }

  body[data-page-scope="contact"] .contact-panel-inner {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.8fr);
  }
}

@media (max-width: 640px) {
  body[data-page-scope] .topbar .nav {
    width: 100%;
    min-width: 0;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 14px;
    padding-bottom: 2px;
  }

  body[data-page-scope="home"] .home-main .cta-shell {
    width: calc(100% - 32px);
    padding: 24px;
  }

  body[data-page-scope="home"] .home-main .cta-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  body[data-page-scope="home"] .home-main .cta-actions :is(.primary-btn, .secondary-btn) {
    width: 100%;
    margin: 0;
  }

  body[data-page-scope] .home-main .hero {
    min-height: 700px;
    background-image:
      linear-gradient(
        180deg,
        rgba(7, 11, 16, 1) 0%,
        rgba(7, 11, 16, 0.96) 38%,
        rgba(7, 11, 16, 0.58) 68%,
        rgba(7, 11, 16, 0.24) 100%
      ),
      url("/assets/Home_HeroImage-BisnAjh9.jpg") !important;
    background-position: center, 44% center;
    background-size: cover;
    background-repeat: no-repeat;
  }

  body[data-page-scope="home"] .home-main .hero::before {
    background:
      linear-gradient(90deg, transparent 0 5.5%, rgba(98, 203, 237, 0.3) 5.55%, transparent 5.62%),
      linear-gradient(180deg, transparent 52%, rgba(7, 11, 16, 0.22));
  }

  body[data-page-scope="home"] .home-main .hero-copy {
    width: calc(100% - 36px);
    padding: 44px 0 260px;
  }

  body[data-page-scope="home"] .home-main .hero-copy-panel h1 {
    max-width: 9ch;
    font-size: clamp(2.8rem, 10.8vw, 4rem);
  }

  body[data-page-scope="home"] .home-main .hero-copy-panel {
    width: calc(100% - 36px);
    max-width: 100%;
    min-width: 0;
  }

  body[data-page-scope="home"] .home-main .hero-text {
    max-width: 31ch;
    font-size: 1rem;
  }

  body[data-page-scope="home"] .home-main .cards-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  body[data-page-scope="home"] .home-main .solution-card,
  body[data-page-scope="home"] .home-main .solution-card:nth-child(-n + 2) {
    grid-column: auto;
    min-height: 310px;
  }

  body[data-page-scope="solutions"] .solutions-hero-panel {
    min-height: 420px;
    padding-inline: 24px;
    background-position: center, 62% center;
  }

  body[data-page-scope="solutions"] .solutions-hero-panel h1,
  body[data-page-scope="case-studies"] .case-hero-overlay h1 {
    font-size: clamp(2.8rem, 12vw, 4.4rem);
  }

  body[data-page-scope="solutions"] .solution-rows {
    padding: 12px 20px 40px;
  }

  body[data-page-scope="solutions"] .solution-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    min-height: 0;
    padding-block: 32px;
  }

  body[data-page-scope="solutions"] .solution-row.reversed .solution-copy,
  body[data-page-scope="solutions"] .solution-row.reversed .solution-media {
    order: initial;
  }

  body[data-page-scope="solutions"] .solution-image {
    min-height: 220px;
  }

  body[data-page-scope="about"] .about-hero {
    min-height: 540px;
  }

  body[data-page-scope="about"] .about-hero-copy {
    padding: 150px 20px 32px;
  }

  body[data-page-scope="about"] .about-hero-copy h1 {
    font-size: clamp(2.8rem, 12vw, 4.3rem);
  }

  body[data-page-scope="about"] .about-feature-band {
    display: grid;
    grid-template-columns: 1fr;
    padding-inline: 20px;
  }

  body[data-page-scope="about"] .about-feature-card {
    min-width: 0;
  }

  body[data-page-scope="about"] .about-feature-image {
    min-height: 0;
    aspect-ratio: 1 / 1;
  }

  body[data-page-scope="about"] .about-contact-grid {
    grid-template-columns: 1fr;
  }

  body[data-page-scope="about"] .about-map {
    padding-inline: 20px;
  }

  body[data-page-scope="case-studies"] .case-hero {
    min-height: 500px;
    background-position: 58% center;
  }

  body[data-page-scope="case-studies"] .case-hero-overlay {
    padding: 40px 20px;
    background: linear-gradient(90deg, rgba(7, 11, 16, 0.9), rgba(7, 11, 16, 0.45));
  }

  body[data-page-scope="case-studies"] .case-studies-wrap {
    padding-inline: 20px;
  }

  body[data-page-scope="case-studies"] .case-study,
  body[data-page-scope="case-studies"] .case-study.reversed {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    padding-block: 32px;
  }

  body[data-page-scope="case-studies"] .case-study.reversed .case-study-media,
  body[data-page-scope="case-studies"] .case-study.reversed .case-study-copy {
    order: initial;
  }

  body[data-page-scope="case-studies"] .case-study-image {
    min-height: 240px;
  }

  body[data-page-scope="case-studies"] .case-summary {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 48px;
    padding: 24px;
  }

  body[data-page-scope="contact"] .contact-panel {
    padding: 28px 16px;
  }

  body[data-page-scope="contact"] .contact-panel-inner {
    grid-template-columns: 1fr;
  }

  body[data-page-scope="contact"] .contact-copy {
    padding: 24px 18px;
  }

  body[data-page-scope="contact"] .contact-copy h1 {
    font-size: clamp(2.5rem, 12vw, 4.2rem);
  }

  body[data-page-scope="contact"] .contact-form-row {
    grid-template-columns: 1fr;
    grid-template-areas:
      "email-label"
      "email"
      "telephone-label"
      "telephone";
  }

  body[data-page-scope="contact"] .contact-map-section {
    padding-inline: 16px;
  }

  body[data-page-scope="contact"] .contact-map-visual {
    min-height: 280px;
  }

  body[data-page-scope] .footer {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 40px 20px 28px;
  }

  body[data-page-scope] .footer .footer-ack {
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-page-scope] *,
  body[data-page-scope] *::before,
  body[data-page-scope] *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
