:root {
  --asset-glow: 0 28px 90px rgba(53, 109, 255, 0.12), 0 20px 60px rgba(16, 35, 74, 0.08);
  --lift-transition: 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  scroll-padding-top: 112px;
}

[id],
section {
  scroll-margin-top: 112px;
}

.section-head p:last-child,
.page-grid .section-head p:last-child,
.split .section-head p:last-child {
  max-width: 39rem;
}

.hero-asset,
.about-visual,
.process-visual,
.cta-visual {
  position: relative;
  margin: 0;
}

.hero-asset,
.about-visual {
  display: grid;
  min-height: clamp(420px, 38vw, 580px);
  place-items: center;
}

.hero-asset::before,
.about-visual::before,
.cta-visual::before {
  position: absolute;
  inset: 10% 6% 6%;
  z-index: -1;
  content: "";
  border-radius: 999px;
  background: radial-gradient(circle, rgba(55, 216, 244, 0.22), transparent 65%);
  filter: blur(18px);
}

.hero-asset {
  padding: clamp(1rem, 2vw, 1.35rem);
  overflow: hidden;
  border: 1px solid rgba(53, 109, 255, 0.1);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(236, 245, 255, 0.92));
  box-shadow:
    0 26px 60px rgba(16, 35, 74, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.hero-asset::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 18% 26%, rgba(255, 255, 255, 0.54), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(53, 109, 255, 0.03));
  pointer-events: none;
}

.hero-asset img,
.about-visual img,
.process-visual img,
.cta-visual img {
  width: 100%;
  height: auto;
}

.hero-asset img,
.about-visual img {
  object-fit: contain;
  filter: drop-shadow(0 18px 36px rgba(16, 35, 74, 0.1));
}

.premium-services {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  align-items: stretch;
}

.premium-services .service-card {
  display: grid;
  grid-template-rows: auto auto auto auto 1fr auto;
  min-height: 31.5rem;
  padding: 1.2rem;
  isolation: isolate;
  gap: 1rem;
}

.premium-services .service-card:nth-child(1) {
  grid-column: span 1;
}

.premium-services .service-card:nth-child(2),
.premium-services .service-card:nth-child(3) {
  grid-column: span 1;
}

.premium-services .service-card:nth-child(4),
.premium-services .service-card:nth-child(5),
.premium-services .service-card:nth-child(6) {
  grid-column: span 1;
}

.premium-services .icon-wrap {
  margin-bottom: 0;
}

.service-card::before,
.service-card::after,
.service-visual::before,
.service-visual::after,
.service-visual span,
.project-visual.has-image::before,
.project-visual.has-image::after {
  display: none !important;
}

.service-visual {
  overflow: hidden;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(236, 245, 255, 0.95), rgba(255, 255, 255, 0.98));
}

.service-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
}

.premium-services .service-visual {
  position: relative;
  right: auto;
  bottom: auto;
  width: 100%;
  min-height: 10.75rem;
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 1px solid rgba(53, 109, 255, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 14px 30px rgba(16, 35, 74, 0.05);
  opacity: 1;
  pointer-events: none;
}

.premium-services .service-visual img {
  opacity: 1;
  filter: none;
  transition: transform var(--lift-transition), filter var(--lift-transition);
}

.premium-services .service-card:hover .service-visual img {
  transform: translateY(-4px) scale(1.015);
}

.premium-services .service-video .service-visual {
  background-image: none;
}

.premium-services .service-social .service-visual {
  background-image: none;
}

.premium-services .service-web .service-visual {
  background-image: none;
}

.premium-services .service-app .service-visual {
  background-image: none;
}

.premium-services .service-ai .service-visual {
  background-image: none;
}

.premium-services .service-growth .service-visual {
  background-image: none;
}

.premium-services .service-card h3,
.premium-services .service-card p,
.premium-services .service-card .deliverables,
.premium-services .service-card .text-link {
  margin: 0;
  max-width: none;
}

.premium-services .service-card h3,
.service-detail-card h3 {
  margin-top: 0.2rem;
  line-height: 1.18;
}

.premium-services .service-card h3 {
  min-height: 3.7rem;
}

.premium-services .service-card p {
  line-height: 1.68;
}

.premium-services .service-card .deliverables {
  gap: 0.48rem;
  margin-top: 0.1rem;
}

.premium-services .service-card .text-link {
  margin-top: 0.15rem;
  padding-top: 0;
}

.service-detail-card {
  min-height: 520px;
  padding-bottom: 12rem;
}

.service-detail-card .service-visual {
  width: min(54%, 18rem);
  height: auto;
  aspect-ratio: 4 / 3;
}

.project-visual.has-image {
  min-height: 17.6rem;
  border-radius: calc(var(--radius) - 4px);
  background:
    linear-gradient(180deg, rgba(240, 247, 255, 0.92), rgba(223, 236, 255, 0.92));
}

.work-card .project-visual.has-image {
  min-height: 18rem;
  border-radius: calc(var(--radius) - 4px) calc(var(--radius) - 4px) 0 0;
}

.selected-work .project-visual.has-image {
  min-height: clamp(20rem, 25vw, 23rem);
  border-radius: 22px 22px 0 0;
  background:
    linear-gradient(180deg, rgba(244, 249, 255, 0.96), rgba(228, 239, 255, 0.98));
}

.portfolio-feature .project-visual.has-image {
  min-height: 22rem;
}

.project-visual.has-image img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center;
}

.work-card .project-visual.has-image img {
  transition: transform var(--lift-transition);
}

.work-card:hover .project-visual.has-image img,
.portfolio-feature:hover .project-visual.has-image img {
  transform: scale(1.02);
}

.selected-work .work-card:hover .project-visual.has-image img {
  transform: scale(1.035);
}

.team-section .section-head {
  margin-bottom: 0.2rem;
}

.team-card figure {
  aspect-ratio: 0.82;
  margin: 0;
  overflow: hidden;
  border-radius: calc(var(--radius) - 4px) calc(var(--radius) - 4px) 0 0;
  background: linear-gradient(180deg, #eaf4ff, #dcecff);
}

.team-card figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform var(--lift-transition);
}

.team-card:hover figure img {
  transform: scale(1.03);
}

.process-visual {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--asset-glow);
}

.process-visual img {
  aspect-ratio: 1.45;
  object-fit: cover;
}

.about-visual {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.cta-visual {
  min-height: 20rem;
  overflow: hidden;
  border-radius: 26px;
}

.cta-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(10, 26, 58, 0.08) 0%, rgba(10, 26, 58, 0) 28%, rgba(10, 26, 58, 0.42) 100%),
    linear-gradient(180deg, rgba(10, 26, 58, 0) 0%, rgba(10, 26, 58, 0.22) 100%);
  pointer-events: none;
}

.cta-visual img {
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.quote-panel,
.final-cta {
  border: 1px solid rgba(16, 35, 74, 0.08);
}

.quote-panel {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(240, 247, 255, 0.98));
}

.final-cta .cta-visual {
  align-self: stretch;
}

.final-cta .actions .btn.ghost {
  color: #f5f8ff;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.footer-brand-block p {
  max-width: 28rem;
}

@media (max-width: 1180px) {
  .premium-services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .premium-services .service-card,
  .premium-services .service-card:nth-child(1),
  .premium-services .service-card:nth-child(2),
  .premium-services .service-card:nth-child(3),
  .premium-services .service-card:nth-child(4),
  .premium-services .service-card:nth-child(5),
  .premium-services .service-card:nth-child(6) {
    grid-column: span 1;
    grid-row: span 1;
  }

  .premium-services .service-card {
    grid-template-rows: auto auto auto auto 1fr auto;
    min-height: 33rem;
  }
}

@media (max-width: 920px) {
  .hero-asset,
  .about-visual {
    min-height: 360px;
  }

  .selected-work .project-visual.has-image,
  .portfolio-feature .project-visual.has-image {
    min-height: 18rem;
  }
}

@media (max-width: 720px) {
  .premium-services {
    grid-template-columns: 1fr;
  }

  .premium-services .service-card {
    grid-template-rows: auto auto auto auto 1fr auto;
    min-height: auto;
  }

  .premium-services .service-card h3 {
    min-height: 0;
  }

  .service-detail-card {
    min-height: 470px;
  }

  .premium-services .service-visual,
  .premium-services .service-card:nth-child(1) .service-visual {
    min-height: 10rem;
  }

  .service-detail-card .service-visual {
    width: min(58%, 16rem);
    height: auto;
  }

  .hero-asset,
  .about-visual {
    min-height: 300px;
  }

  .project-visual.has-image,
  .work-card .project-visual.has-image,
  .selected-work .project-visual.has-image,
  .portfolio-feature .project-visual.has-image {
    min-height: 16rem;
  }

  .cta-visual {
    min-height: 15rem;
  }
}
