:root {
  --brand-blue: #196bb3;
  --brand-cyan: #26a7c8;
  --ink: #17202a;
  --muted: #596678;
  --line: #dfe5ec;
  --soft: #f5f8fb;
  --paper: #ffffff;
  --warm: #c59a47;
  --green: #2f8a74;
  --red: #bc5b50;
  --shadow: 0 16px 40px rgba(18, 31, 48, 0.12);
  --night: #07111d;
  --night-soft: #0d1a29;
  --electric: #54d8ff;
  --scroll-progress: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

::selection {
  color: #fff;
  background: var(--brand-blue);
}

:focus-visible {
  outline: 2px solid var(--electric);
  outline-offset: 4px;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  align-items: center;
  gap: 24px;
  padding: 12px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(223, 229, 236, 0.72);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 0 0 rgba(11, 26, 42, 0);
  backdrop-filter: blur(18px) saturate(150%);
  transition: padding 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.site-header::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-blue), var(--electric));
  transform: scaleX(var(--scroll-progress));
  transform-origin: left center;
}

.site-header.is-scrolled {
  padding-top: 8px;
  padding-bottom: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 32px rgba(11, 26, 42, 0.1);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
  font-weight: 700;
}

.brand img {
  width: 46px;
  height: 46px;
  padding: 2px;
  border: 1px solid rgba(25, 107, 179, 0.14);
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  background: #fff;
  box-shadow: 0 7px 18px rgba(25, 107, 179, 0.1);
  mix-blend-mode: multiply;
}

.brand span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #263648;
  font-size: 15px;
}

.main-nav a,
.header-call {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}

.main-nav a {
  position: relative;
  transition: color 180ms ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-cyan));
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 200ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--brand-blue);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.header-call {
  justify-content: center;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--brand-blue);
  font-weight: 700;
  background: rgba(255, 255, 255, 0.7);
  transition: color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.header-call:hover,
.header-call:focus-visible {
  color: #fff;
  border-color: var(--brand-blue);
  background: var(--brand-blue);
  box-shadow: 0 8px 22px rgba(25, 107, 179, 0.24);
  transform: translateY(-1px);
}

.hero {
  min-height: min(820px, 82vh);
  position: relative;
  display: flex;
  align-items: center;
  padding: clamp(72px, 9vw, 120px) clamp(20px, 7vw, 96px);
  overflow: hidden;
  color: #fff;
  isolation: isolate;
  background:
    radial-gradient(circle at 82% 45%, rgba(38, 167, 200, 0.19), transparent 28%),
    radial-gradient(circle at 15% 10%, rgba(25, 107, 179, 0.28), transparent 34%),
    linear-gradient(130deg, #07111d 0%, #0a1725 55%, #07101a 100%);
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(126, 228, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 228, 255, 0.1) 1px, transparent 1px);
  background-size: 68px 68px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 52%, #000);
  mask-image: linear-gradient(90deg, transparent, #000 52%, #000);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 17, 29, 0.99) 0%, rgba(7, 17, 29, 0.9) 43%, rgba(7, 17, 29, 0.18) 72%, rgba(7, 17, 29, 0.52) 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(700px, 57%);
  animation: hero-copy-in 760ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-visual {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: clamp(20px, 5vw, 84px);
  width: min(48vw, 700px);
  aspect-ratio: 1.18;
  transform: translateY(-50%);
  perspective: 1100px;
}

.hero-frame {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(126, 228, 255, 0.3);
  border-radius: 14px;
  background: #102033;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.44), 0 0 50px rgba(38, 167, 200, 0.08);
}

.hero-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 46%, rgba(3, 10, 17, 0.78));
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.07);
}

.hero-frame span {
  position: absolute;
  z-index: 1;
  bottom: 16px;
  left: 18px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.hero-frame-main {
  top: 12%;
  right: 5%;
  width: 78%;
  aspect-ratio: 16 / 10;
  transform: rotateY(-7deg) rotateZ(1deg);
  animation: hero-frame-in 900ms 120ms cubic-bezier(0.22, 1, 0.36, 1) both, hero-float 7s 1.1s ease-in-out infinite;
}

.hero-frame-top,
.hero-frame-bottom {
  width: 41%;
  aspect-ratio: 16 / 10;
  backdrop-filter: blur(8px);
}

.hero-frame-top {
  top: 0;
  right: -3%;
  transform: rotate(4deg);
  animation: hero-card-top-in 900ms 280ms cubic-bezier(0.22, 1, 0.36, 1) both, hero-float-small 6s 1.4s ease-in-out infinite;
}

.hero-frame-bottom {
  right: 50%;
  bottom: 2%;
  transform: rotate(-4deg);
  animation: hero-card-bottom-in 900ms 360ms cubic-bezier(0.22, 1, 0.36, 1) both, hero-float-small 6.5s 1.5s ease-in-out infinite reverse;
}

.hero-focus-mark {
  position: absolute;
  top: 44%;
  left: 46%;
  width: 84px;
  height: 84px;
  border: 1px solid rgba(126, 228, 255, 0.5);
  border-radius: 50%;
  box-shadow: 0 0 0 18px rgba(126, 228, 255, 0.04);
  animation: focus-pulse 2.8s ease-in-out infinite;
}

.hero-focus-mark::before,
.hero-focus-mark::after {
  content: "";
  position: absolute;
  background: rgba(126, 228, 255, 0.72);
}

.hero-focus-mark::before {
  top: 50%;
  left: -18px;
  width: 118px;
  height: 1px;
}

.hero-focus-mark::after {
  top: -18px;
  left: 50%;
  width: 1px;
  height: 118px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--brand-cyan);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #7ee4ff;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 14px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.12;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.hero-lead {
  margin-bottom: 18px;
  font-size: clamp(19px, 2.3vw, 28px);
  font-weight: 700;
}

.hero-copy {
  max-width: 660px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 17px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.hero-proof span {
  position: relative;
}

.hero-proof span + span::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -13px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--electric);
}

.hero-proof strong {
  color: #fff;
  font-size: 17px;
}

.hero-scroll {
  position: absolute;
  z-index: 4;
  bottom: 26px;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.46);
  font-size: 9px;
  letter-spacing: 0.18em;
  transform: translateX(-50%);
}

.hero-scroll i {
  position: relative;
  width: 1px;
  height: 28px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.18);
}

.hero-scroll i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--electric);
  transform: translateY(-100%);
  animation: scroll-line 1.8s ease-in-out infinite;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-btn,
.secondary-btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  position: relative;
  overflow: hidden;
  border-radius: 7px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.primary-btn {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-blue), #1689c1);
  box-shadow: 0 12px 30px rgba(25, 107, 179, 0.22);
}

.primary-btn:hover,
.primary-btn:focus-visible,
.secondary-btn:hover,
.secondary-btn:focus-visible {
  transform: translateY(-2px);
}

.primary-btn:hover,
.primary-btn:focus-visible {
  box-shadow: 0 16px 34px rgba(38, 167, 200, 0.3);
}

.secondary-btn:hover,
.secondary-btn:focus-visible {
  border-color: rgba(126, 228, 255, 0.86);
  background: rgba(126, 228, 255, 0.08);
}

.secondary-btn {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.56);
}

.section {
  position: relative;
  padding: clamp(56px, 8vw, 92px) clamp(20px, 6vw, 80px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-heading h2,
.about-copy h2,
.contact-content h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.18;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.section-heading p,
.about-copy p,
.contact-content p {
  color: var(--muted);
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
  background: var(--line);
}

.metric {
  position: relative;
  min-height: 132px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px clamp(20px, 4vw, 48px);
  background: #fff;
  transition: background 220ms ease;
}

.metric::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-cyan));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 260ms ease;
}

.metric:hover {
  background: #f8fbfd;
}

.metric:hover::before {
  transform: scaleX(1);
}

.metric strong {
  color: var(--brand-blue);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
}

.metric span {
  margin-top: 10px;
  color: var(--muted);
}

.service-grid,
.case-grid,
.article-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.case-card,
.article-grid article {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(18, 31, 48, 0.06);
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1), border-color 240ms ease, box-shadow 240ms ease;
}

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  padding: 24px;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 96px;
  height: 96px;
  border-radius: 0 0 0 100%;
  background: linear-gradient(135deg, transparent 24%, rgba(38, 167, 200, 0.1));
  transition: transform 260ms ease;
  transform: translate(22px, -22px);
}

.service-card:hover,
.service-card:focus-within,
.article-grid article:hover {
  border-color: rgba(38, 167, 200, 0.42);
  box-shadow: 0 20px 46px rgba(18, 31, 48, 0.12);
  transform: translateY(-6px);
}

.service-card:hover::before {
  transform: translate(8px, -8px) scale(1.15);
}

.service-index {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--brand-cyan);
  font-weight: 800;
  letter-spacing: 0.12em;
}

.service-card h3,
.case-body h3,
.article-grid h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.28;
}

.service-card p,
.case-body p,
.article-grid p {
  color: var(--muted);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: var(--brand-blue);
  font-weight: 800;
}

.service-link::after {
  content: "→";
  transition: transform 180ms ease;
}

.service-card:hover .service-link::after,
.service-card:focus-visible .service-link::after {
  transform: translateX(4px);
}

.tinted-section {
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 78% 6%, rgba(38, 167, 200, 0.18), transparent 27%),
    radial-gradient(circle at 8% 78%, rgba(25, 107, 179, 0.16), transparent 30%),
    var(--night);
}

.tinted-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.2;
  background-image: radial-gradient(rgba(126, 228, 255, 0.48) 0.7px, transparent 0.7px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(110deg, transparent 6%, #000 52%, transparent 94%);
  mask-image: linear-gradient(110deg, transparent 6%, #000 52%, transparent 94%);
}

.tinted-section > * {
  position: relative;
  z-index: 1;
}

.tinted-section .section-heading p:not(.eyebrow) {
  color: rgba(222, 234, 244, 0.68);
}

.tinted-section .eyebrow {
  color: var(--electric);
}

.case-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.filter-btn {
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(183, 211, 229, 0.2);
  border-radius: 999px;
  color: rgba(230, 241, 249, 0.72);
  background: rgba(255, 255, 255, 0.05);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.filter-btn:hover,
.filter-btn:focus-visible {
  color: #fff;
  border-color: rgba(84, 216, 255, 0.58);
  transform: translateY(-1px);
}

.filter-btn.active {
  color: #fff;
  border-color: rgba(84, 216, 255, 0.7);
  background: linear-gradient(135deg, rgba(25, 107, 179, 0.94), rgba(38, 167, 200, 0.92));
  box-shadow: 0 8px 24px rgba(38, 167, 200, 0.18);
}

.case-card {
  overflow: hidden;
  border-color: rgba(168, 202, 225, 0.15);
  background: rgba(15, 29, 44, 0.88);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

.case-card:hover,
.case-card:focus-within {
  border-color: rgba(84, 216, 255, 0.44);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.34), 0 0 34px rgba(38, 167, 200, 0.08);
  transform: translateY(-7px);
}

.case-card.hidden {
  display: none;
}

.case-thumb {
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
  padding: 18px;
  border: 0;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0)),
    #2f6fa3;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.case-thumb::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 22, 36, 0.04) 35%, rgba(7, 22, 36, 0.76) 100%);
}

.case-thumb::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: -25%;
  bottom: -25%;
  left: -45%;
  width: 24%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: skewX(-16deg);
  transition: left 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

.case-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1), filter 320ms ease;
}

.case-thumb span {
  position: relative;
  z-index: 2;
  font-weight: 900;
  font-size: 20px;
}

.case-thumb .play-badge {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  background: rgba(7, 22, 36, 0.48);
  box-shadow: 0 0 0 0 rgba(84, 216, 255, 0.3);
  font-size: 17px;
  line-height: 1;
  transition: transform 160ms ease, background 160ms ease;
}

.case-thumb:hover .play-badge,
.case-thumb:focus-visible .play-badge {
  border-color: var(--electric);
  transform: scale(1.09);
  background: rgba(16, 117, 165, 0.78);
  box-shadow: 0 0 0 8px rgba(84, 216, 255, 0.1);
}

.case-thumb:hover img,
.case-thumb:focus-visible img {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.065);
}

.case-thumb:hover::after,
.case-thumb:focus-visible::after {
  left: 125%;
}

.thumb-blue {
  background-color: #1e6ca9;
}

.thumb-cyan {
  background-color: #248ea8;
}

.thumb-green {
  background-color: #2f8a74;
}

.thumb-gold {
  background-color: #a47b28;
}

.thumb-slate {
  background-color: #435669;
}

.thumb-red {
  background-color: #ad5a52;
}

.thumb-purple {
  background-color: #6a5a96;
}

.thumb-teal {
  background-color: #287f8f;
}

.case-body {
  padding: 20px;
}

.case-body h3 {
  color: #f5f9fc;
}

.case-body p:not(.case-type) {
  color: rgba(205, 220, 232, 0.68);
}

.case-type {
  margin-bottom: 8px;
  color: var(--electric);
  font-size: 13px;
  font-weight: 800;
}

.case-body a {
  display: inline-flex;
  margin-top: 8px;
  color: var(--brand-blue);
  font-weight: 800;
}

.case-play-link {
  display: inline-flex;
  margin-top: 10px;
  padding: 0;
  border: 0;
  color: #74ddff;
  background: transparent;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.case-play-link::after {
  content: "  →";
  white-space: pre;
  transition: transform 160ms ease;
}

.case-play-link:hover::after,
.case-play-link:focus-visible::after {
  transform: translateX(4px);
}

.case-card.filter-enter {
  animation: filter-card-in 360ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.case-play-link:hover,
.case-play-link:focus-visible {
  text-decoration: underline;
}

body.video-modal-open {
  overflow: hidden;
}

body.video-modal-open #meiqia-container,
body.video-modal-open #meiqia_custorm {
  visibility: hidden !important;
  pointer-events: none !important;
}

.video-modal[hidden] {
  display: none;
}

.video-modal {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  background: rgba(3, 10, 17, 0.88);
  backdrop-filter: blur(12px);
  cursor: pointer;
  animation: modal-backdrop-in 220ms ease both;
}

.video-modal-dialog {
  position: relative;
  width: min(1040px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  color: #fff;
  background: #101923;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
  animation: modal-dialog-in 340ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.video-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
}

.video-modal-header h2 {
  margin: 0;
  font-size: clamp(20px, 3vw, 28px);
}

.video-modal-close {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  color: #fff;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.video-modal video {
  display: block;
  width: 100%;
  max-height: calc(100vh - 190px);
  background: #000;
}

.video-modal-dialog > p {
  margin: 0;
  padding: 14px 20px 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.process-section {
  background:
    linear-gradient(90deg, rgba(25, 107, 179, 0.025) 1px, transparent 1px),
    #fff;
  background-size: 25% 100%;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--line);
  counter-reset: production-step;
}

.process-list li {
  position: relative;
  overflow: hidden;
  min-height: 176px;
  padding: 24px;
  background: #fff;
  counter-increment: production-step;
  transition: color 220ms ease, background 220ms ease, transform 220ms ease;
}

.process-list li::after {
  content: "0" counter(production-step);
  position: absolute;
  right: 15px;
  bottom: -24px;
  color: rgba(25, 107, 179, 0.06);
  font-size: 92px;
  font-weight: 900;
  line-height: 1;
  transition: color 220ms ease, transform 220ms ease;
}

.process-list li:hover {
  z-index: 1;
  background: #f4faff;
  transform: translateY(-4px);
}

.process-list li:hover::after {
  color: rgba(38, 167, 200, 0.12);
  transform: translateY(-5px);
}

.process-list strong {
  display: block;
  margin-bottom: 14px;
  font-size: 21px;
}

.process-list span {
  color: var(--muted);
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 87% 50%, rgba(38, 167, 200, 0.09), transparent 29%),
    #f7f9fb;
}

.about-logo {
  position: relative;
}

.about-logo::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -16px;
  right: -16px;
  width: 76%;
  height: 76%;
  border: 1px solid rgba(38, 167, 200, 0.3);
  border-radius: 12px;
}

.about-logo img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: 360px;
  border-radius: 12px;
  object-fit: cover;
  object-position: 50% 58%;
  box-shadow: var(--shadow);
}

.article-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.article-grid article {
  position: relative;
  overflow: hidden;
  min-height: 180px;
  padding: 24px;
}

.article-grid article::after {
  content: "READ";
  position: absolute;
  right: 18px;
  bottom: 12px;
  color: rgba(25, 107, 179, 0.11);
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.article-link {
  position: relative;
  z-index: 1;
  display: block;
  height: 100%;
}

.article-link span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: var(--brand-blue);
  font-weight: 800;
}

.article-link span::after {
  content: "→";
  transition: transform 180ms ease;
}

.article-link:hover span::after,
.article-link:focus-visible span::after {
  transform: translateX(4px);
}

.contact-section {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding: clamp(58px, 8vw, 96px) clamp(20px, 6vw, 80px);
  color: #fff;
  background:
    radial-gradient(circle at 78% 30%, rgba(38, 167, 200, 0.18), transparent 26%),
    linear-gradient(120deg, #101b29, #07111d);
}

.contact-section::before {
  content: "";
  position: absolute;
  top: -220px;
  right: -160px;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(84, 216, 255, 0.11);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(84, 216, 255, 0.025), 0 0 0 140px rgba(84, 216, 255, 0.018);
}

.contact-section > * {
  position: relative;
  z-index: 1;
}

.contact-content p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-panel {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(16px);
}

.contact-panel dl {
  display: grid;
  gap: 12px;
  margin: 0 0 18px;
}

.contact-panel div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-panel dt {
  color: rgba(255, 255, 255, 0.62);
}

.contact-panel dd {
  margin: 0;
  font-weight: 800;
}

.contact-panel img {
  width: min(280px, 100%);
  margin: 0 auto 12px;
  border-radius: 8px;
}

.contact-panel p {
  margin: 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.76);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 22px clamp(20px, 6vw, 80px);
  color: #d4dce5;
  background: #101923;
  font-size: 14px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--electric);
}

/* Core service landing pages */
.service-page {
  background: var(--soft);
}

.service-page main {
  overflow: hidden;
}

.service-hero {
  position: relative;
  min-height: 600px;
  display: grid;
  align-items: end;
  padding: clamp(100px, 14vw, 164px) clamp(20px, 7vw, 96px) clamp(68px, 9vw, 112px);
  color: #fff;
  isolation: isolate;
  background: var(--night);
}

.service-hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image: var(--service-hero-image);
  background-position: center;
  background-size: cover;
  filter: saturate(0.82) contrast(1.08);
}

.service-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at 80% 22%, rgba(84, 216, 255, 0.19), transparent 28%),
    linear-gradient(90deg, rgba(6, 15, 25, 0.98) 0%, rgba(6, 15, 25, 0.88) 54%, rgba(6, 15, 25, 0.44) 100%);
}

.service-hero-content {
  width: min(820px, 100%);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.breadcrumbs a:hover,
.breadcrumbs a:focus-visible {
  color: var(--electric);
}

.service-hero h1 {
  max-width: 780px;
  margin: 8px 0 20px;
  font-size: clamp(40px, 6.4vw, 76px);
  line-height: 1.06;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.service-hero-lead {
  max-width: 720px;
  margin: 0 0 28px;
  color: rgba(241, 247, 252, 0.84);
  font-size: clamp(18px, 2.2vw, 24px);
}

.service-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.service-fact {
  min-height: 132px;
  padding: 28px clamp(20px, 4vw, 48px);
  background: #fff;
}

.service-fact strong {
  display: block;
  margin-bottom: 8px;
  color: var(--brand-blue);
  font-size: 20px;
}

.service-fact span {
  color: var(--muted);
}

.service-content {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(64px, 8vw, 104px) 0;
}

.service-content + .service-content {
  padding-top: 0;
}

.service-intro-grid,
.service-decision-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 7vw, 88px);
  align-items: start;
}

.service-intro-grid h2,
.service-decision-grid h2,
.service-section-heading h2 {
  margin: 8px 0 16px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.16;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.service-intro-grid p,
.service-decision-grid p,
.service-section-heading p,
.detail-card p,
.factor-list li,
.prep-list li {
  color: var(--muted);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.detail-card {
  min-height: 210px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(18, 31, 48, 0.06);
}

.detail-card strong {
  display: block;
  margin-bottom: 12px;
  color: var(--brand-cyan);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.detail-card h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.3;
}

.service-dark {
  color: #fff;
  background:
    radial-gradient(circle at 82% 18%, rgba(38, 167, 200, 0.18), transparent 28%),
    var(--night);
}

.service-dark .service-content {
  padding-top: clamp(64px, 8vw, 104px);
}

.service-dark p,
.service-dark li {
  color: rgba(220, 233, 243, 0.74);
}

.factor-list,
.prep-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.factor-list li,
.prep-list li {
  position: relative;
  padding: 16px 18px 16px 48px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
}

.factor-list li::before,
.prep-list li::before {
  content: "✓";
  position: absolute;
  top: 16px;
  left: 18px;
  color: var(--brand-cyan);
  font-weight: 900;
}

.service-dark .factor-list li {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.055);
}

.service-cta {
  width: min(1180px, calc(100% - 40px));
  margin: clamp(40px, 7vw, 84px) auto;
  padding: clamp(34px, 6vw, 64px);
  border-radius: 16px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 18%, rgba(84, 216, 255, 0.24), transparent 30%),
    linear-gradient(120deg, #12385a, #07111d);
  box-shadow: var(--shadow);
}

.service-cta h2 {
  max-width: 760px;
  margin-bottom: 12px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.16;
}

.service-cta p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.76);
}

.related-services {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.related-services a {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--brand-blue);
  background: #fff;
  font-weight: 700;
}

.related-services a:hover,
.related-services a:focus-visible {
  border-color: var(--brand-cyan);
}

.motion-ready .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 620ms cubic-bezier(0.22, 1, 0.36, 1), transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.motion-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.motion-ready .service-card.reveal.is-visible:hover,
.motion-ready .article-grid article.reveal.is-visible:hover {
  transform: translateY(-6px);
}

.motion-ready .case-card.reveal.is-visible:hover,
.motion-ready .case-card.reveal.is-visible:focus-within {
  transform: translateY(-7px);
}

.motion-ready .process-list li.reveal.is-visible:hover {
  transform: translateY(-4px);
}

@keyframes hero-copy-in {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-frame-in {
  from {
    opacity: 0;
    transform: translateX(80px) rotateY(-12deg) rotateZ(3deg) scale(0.94);
  }
  to {
    opacity: 1;
    transform: rotateY(-7deg) rotateZ(1deg) scale(1);
  }
}

@keyframes hero-card-top-in {
  from {
    opacity: 0;
    transform: translate(45px, -30px) rotate(8deg) scale(0.9);
  }
  to {
    opacity: 1;
    transform: rotate(4deg) scale(1);
  }
}

@keyframes hero-card-bottom-in {
  from {
    opacity: 0;
    transform: translate(-32px, 38px) rotate(-8deg) scale(0.9);
  }
  to {
    opacity: 1;
    transform: rotate(-4deg) scale(1);
  }
}

@keyframes hero-float {
  0%, 100% { transform: rotateY(-7deg) rotateZ(1deg) translateY(0); }
  50% { transform: rotateY(-5deg) rotateZ(0.5deg) translateY(-10px); }
}

@keyframes hero-float-small {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -8px; }
}

@keyframes focus-pulse {
  0%, 100% { opacity: 0.35; transform: scale(0.94); }
  50% { opacity: 0.8; transform: scale(1.04); }
}

@keyframes scroll-line {
  0% { transform: translateY(-100%); }
  50%, 100% { transform: translateY(100%); }
}

@keyframes filter-card-in {
  from { opacity: 0; transform: translateY(12px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes modal-backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modal-dialog-in {
  from { opacity: 0; transform: translateY(18px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.site-footer p {
  margin: 0;
}

@media (max-width: 1100px) {
  .service-grid,
  .case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    grid-column: 1 / -1;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .header-call {
    padding: 0 12px;
  }

  .hero {
    min-height: 72vh;
    padding-top: 72px;
    background-position: 58% center;
  }

  .intro-band,
  .about-section,
  .contact-section,
  .article-grid {
    grid-template-columns: 1fr;
  }

  .metric {
    min-height: 110px;
  }

  .site-footer {
    flex-direction: column;
  }

  .service-facts,
  .service-intro-grid,
  .service-decision-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 560px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 10px;
    padding: 7px 12px 5px;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .brand span {
    max-width: 9.5em;
    font-size: 13px;
  }

  .header-call {
    grid-column: 2;
    grid-row: 1;
    min-height: 34px;
    padding: 0 8px;
    font-size: 13px;
  }

  .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    min-height: 34px;
    gap: 20px;
    margin-right: -12px;
    margin-left: -12px;
    padding: 0 12px;
    font-size: 13px;
    scrollbar-width: none;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .main-nav a {
    flex: 0 0 auto;
    min-height: 34px;
  }

  h1 {
    font-size: 34px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .primary-btn,
  .secondary-btn {
    width: 100%;
  }

  .service-grid,
  .case-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .contact-panel div {
    flex-direction: column;
    gap: 4px;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }

  .service-hero {
    min-height: 560px;
  }

  .video-modal {
    padding: 10px;
  }

  .video-modal-dialog {
    max-height: calc(100vh - 20px);
  }
}

@media (max-width: 1180px) {
  .hero-content {
    width: min(650px, 62%);
  }

  .hero-visual {
    right: -2vw;
    width: min(53vw, 620px);
  }
}

@media (max-width: 900px) {
  .hero-content {
    width: min(680px, 78%);
  }

  .hero-visual {
    right: -18%;
    width: 74vw;
    opacity: 0.64;
  }

  .hero::after {
    background: linear-gradient(90deg, rgba(7, 17, 29, 0.99), rgba(7, 17, 29, 0.9) 58%, rgba(7, 17, 29, 0.5));
  }
}

@media (max-width: 820px) {
  .hero {
    min-height: 720px;
    max-height: none;
    padding-top: 80px;
    padding-bottom: 84px;
  }

  .hero-content {
    width: 100%;
  }

  .hero-visual {
    top: 48%;
    right: -42%;
    width: 104vw;
    opacity: 0.42;
  }

  .hero-frame-top,
  .hero-frame-bottom,
  .hero-focus-mark,
  .hero-scroll {
    display: none;
  }

  .hero-frame-main {
    top: 18%;
    right: 0;
    width: 92%;
  }

  .case-toolbar {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-right: -20px;
    padding-right: 20px;
    scrollbar-width: none;
  }

  .case-toolbar::-webkit-scrollbar {
    display: none;
  }

  .filter-btn {
    flex: 0 0 auto;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 760px;
    padding-top: 66px;
  }

  .hero-lead {
    font-size: 20px;
  }

  .hero-proof {
    margin-top: 22px;
  }

  .hero-visual {
    right: -66%;
    width: 145vw;
  }

  .section {
    padding-right: 18px;
    padding-left: 18px;
  }

  .service-card,
  .article-grid article {
    min-height: auto;
  }

  .case-body {
    padding: 18px;
  }

  .case-thumb span {
    font-size: 17px;
  }

  .contact-section {
    padding-right: 18px;
    padding-left: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .motion-ready .reveal {
    opacity: 1;
    transform: none;
  }
}
