:root {
  --bg: #050813;
  --bg-soft: #09122a;
  --bg-panel: rgba(11, 18, 42, 0.72);
  --ink: #f8fbff;
  --muted: #b8c2dd;
  --muted-strong: #d7def2;
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(116, 224, 255, 0.36);
  --purple: #805cff;
  --blue: #1eb7ff;
  --cyan: #53f4e7;
  --magenta: #ff4fc7;
  --mint: #65ffba;
  --amber: #ffd257;
  --danger: #ff6b8b;
  --radius: 8px;
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
  --glow-blue: 0 0 34px rgba(30, 183, 255, 0.35);
  --glow-magenta: 0 0 34px rgba(255, 79, 199, 0.26);
  --section-pad: clamp(4.5rem, 8vw, 7.5rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(135deg, rgba(128, 92, 255, 0.14), transparent 32%),
    linear-gradient(225deg, rgba(30, 183, 255, 0.12), transparent 36%),
    linear-gradient(180deg, #050813 0%, #071028 48%, #050813 100%);
  color: var(--ink);
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.15));
}

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

a:hover {
  color: var(--cyan);
}

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

::selection {
  background: rgba(83, 244, 231, 0.32);
  color: var(--ink);
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 1rem;
  z-index: 9999;
  padding: 0.6rem 0.9rem;
  background: var(--ink);
  color: #050813;
  border-radius: 6px;
  transition: top 180ms ease;
}

.skip-link:focus {
  top: 1rem;
}

.text-gradient {
  background: linear-gradient(90deg, var(--cyan), var(--blue), var(--magenta));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 2.25rem;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
}

.section-padding {
  padding: var(--section-pad) 0;
}

.section-tight {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.section-kicker {
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-title {
  max-width: 820px;
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 4.2rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: 0;
}

.section-copy {
  max-width: 740px;
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.16rem);
}

.narrow-copy {
  max-width: 640px;
}

.site-nav {
  padding: 1.05rem 0;
  background: rgba(5, 8, 19, 0.74);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(18px);
  transition: padding 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.site-nav.nav-scrolled {
  padding: 0.72rem 0;
  background: rgba(5, 8, 19, 0.92);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.28);
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0;
}

.navbar-brand:hover {
  color: var(--ink);
}

.brand-mark {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  color: #061020;
  background: linear-gradient(135deg, var(--cyan), var(--blue) 52%, var(--magenta));
  border-radius: 8px;
  box-shadow: var(--glow-blue), var(--glow-magenta);
}

.navbar-toggler {
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 8px;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.18rem rgba(83, 244, 231, 0.24);
}

.navbar-toggler-icon {
  filter: invert(1);
}

.navbar-nav {
  gap: 0.35rem;
}

.nav-link {
  position: relative;
  color: var(--muted);
  font-weight: 700;
  padding: 0.55rem 0.8rem !important;
}

.nav-link::after {
  position: absolute;
  right: 0.8rem;
  bottom: 0.34rem;
  left: 0.8rem;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--ink);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.btn-neon,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 3.15rem;
  padding: 0.78rem 1.25rem;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn-neon {
  color: #03101f;
  background: linear-gradient(135deg, var(--cyan), var(--blue) 58%, var(--magenta));
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 16px 42px rgba(30, 183, 255, 0.25);
}

.btn-neon:hover {
  color: #03101f;
  transform: translateY(-2px);
  box-shadow: 0 22px 56px rgba(30, 183, 255, 0.34);
}

.btn-ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  color: var(--ink);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.hero-home {
  position: relative;
  display: flex;
  min-height: 88vh;
  align-items: center;
  overflow: hidden;
  padding: 8.5rem 0 6.5rem;
  background:
    linear-gradient(90deg, rgba(5, 8, 19, 0.92) 0%, rgba(5, 8, 19, 0.66) 48%, rgba(5, 8, 19, 0.82) 100%),
    linear-gradient(135deg, rgba(128, 92, 255, 0.32), rgba(30, 183, 255, 0.18)),
    url("../img/hero.jpg") center / cover no-repeat;
}

.hero-home::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    repeating-linear-gradient(108deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 54px),
    linear-gradient(180deg, transparent 0%, rgba(5, 8, 19, 0.86) 100%);
  opacity: 0.46;
  animation: gridDrift 18s linear infinite;
}

.hero-home::after {
  position: absolute;
  inset: auto 0 0;
  height: 9rem;
  content: "";
  background: linear-gradient(180deg, transparent, var(--bg));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 850px;
}

.hero-title {
  margin: 0 0 1.25rem;
  font-size: clamp(3rem, 8vw, 7.5rem);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 680px;
  margin-bottom: 2rem;
  color: var(--muted-strong);
  font-size: clamp(1.12rem, 2vw, 1.42rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2.4rem;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.proof-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.62rem 0.8rem;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  border-radius: 8px;
  backdrop-filter: blur(14px);
}

.proof-chip i {
  color: var(--cyan);
}

.intro-band {
  position: relative;
  background: linear-gradient(180deg, var(--bg), #071027);
}

.split-asym {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 1.08fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.split-asym.reverse {
  grid-template-columns: minmax(280px, 1.05fr) minmax(0, 0.95fr);
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.metric-mini {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.metric-mini strong {
  display: block;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1;
}

.metric-mini span {
  color: var(--muted);
  font-size: 0.92rem;
}

.image-stack {
  position: relative;
  min-height: 460px;
}

.image-stack img {
  position: absolute;
  width: min(74%, 520px);
  aspect-ratio: 1.2 / 1;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.image-stack img:first-child {
  top: 0;
  right: 0;
}

.image-stack img:last-child {
  bottom: 0;
  left: 0;
}

.image-stack::after {
  position: absolute;
  right: 10%;
  bottom: 12%;
  width: 38%;
  height: 34%;
  content: "";
  border: 1px solid rgba(83, 244, 231, 0.35);
  border-radius: 8px;
  transform: skew(-8deg);
}

.service-ribbon {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 1fr 0.9fr;
  gap: 1rem;
  align-items: stretch;
}

.service-tile {
  min-height: 270px;
  padding: 1.35rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035));
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.service-tile:nth-child(2),
.service-tile:nth-child(4) {
  margin-top: 3rem;
}

.service-tile:hover {
  border-color: var(--line-strong);
  background: linear-gradient(160deg, rgba(83, 244, 231, 0.13), rgba(255, 79, 199, 0.07));
  transform: translateY(-6px);
}

.icon-box {
  display: grid;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.4rem;
  place-items: center;
  color: #061020;
  background: linear-gradient(135deg, var(--cyan), var(--amber));
  border-radius: 8px;
}

.service-tile h3,
.portfolio-card h3,
.blog-card h3,
.feature-card h3,
.testimonial h3 {
  margin-bottom: 0.7rem;
  font-size: 1.24rem;
  font-weight: 800;
  line-height: 1.25;
}

.service-tile p,
.portfolio-card p,
.blog-card p,
.feature-card p,
.testimonial p {
  color: var(--muted);
}

.feature-wall {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 1rem;
}

.feature-card {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.feature-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-5px);
}

.feature-card img {
  width: 100%;
  height: 290px;
  object-fit: cover;
}

.feature-card.large img {
  height: 100%;
  min-height: 460px;
}

.feature-card.large {
  display: grid;
}

.feature-card.large .feature-body {
  position: absolute;
  right: 1.2rem;
  bottom: 1.2rem;
  left: 1.2rem;
  max-width: 640px;
  background: rgba(5, 8, 19, 0.78);
  border: 1px solid var(--line);
  border-radius: 8px;
  backdrop-filter: blur(16px);
}

.feature-side {
  display: grid;
  gap: 1rem;
}

.feature-body {
  padding: 1.25rem;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 1.8rem;
  padding: 0.28rem 0.62rem;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.timeline-wrap {
  position: relative;
  padding: 2rem 0 0;
}

.timeline-wrap::before {
  position: absolute;
  top: 4.1rem;
  right: 4%;
  left: 4%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--cyan), var(--blue), var(--magenta), var(--amber));
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.timeline-step {
  position: relative;
  padding: 4.2rem 1rem 1rem;
}

.timeline-step::before {
  position: absolute;
  top: 1.55rem;
  left: 1rem;
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  color: #061020;
  background: linear-gradient(135deg, var(--cyan), var(--magenta));
  border: 4px solid var(--bg);
  border-radius: 50%;
  content: attr(data-step);
  font-weight: 900;
  box-shadow: var(--glow-blue);
}

.timeline-step h3 {
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
  font-weight: 800;
}

.timeline-step p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.stats-band {
  background:
    linear-gradient(90deg, rgba(128, 92, 255, 0.23), rgba(30, 183, 255, 0.16), rgba(255, 79, 199, 0.14)),
    #061024;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.stat-item {
  padding: 1.6rem;
  border-left: 1px solid var(--line);
}

.stat-item strong {
  display: block;
  font-size: clamp(2.7rem, 6vw, 5.6rem);
  font-weight: 900;
  line-height: 1;
}

.stat-item span {
  color: var(--muted-strong);
  font-weight: 700;
}

.testimonial-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr 0.95fr;
  gap: 1rem;
  align-items: start;
}

.testimonial {
  padding: 1.35rem;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.testimonial:nth-child(2) {
  margin-top: 2.2rem;
}

.quote-icon {
  color: var(--cyan);
  font-size: 1.6rem;
}

.client-name {
  margin-top: 1rem;
  color: var(--muted-strong);
  font-size: 0.94rem;
  font-weight: 800;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.blog-card {
  position: relative;
  min-height: 320px;
  padding: 1.35rem;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.blog-card::before {
  display: block;
  width: 4.5rem;
  height: 0.24rem;
  margin-bottom: 1.6rem;
  content: "";
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
}

.blog-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-6px);
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.blog-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--cyan);
  font-weight: 800;
}

.cta-band {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(83, 244, 231, 0.19), rgba(128, 92, 255, 0.24), rgba(255, 79, 199, 0.18)),
    #071027;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cta-band::before {
  position: absolute;
  inset: 0;
  content: "";
  background: repeating-linear-gradient(130deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 70px);
  opacity: 0.48;
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
}

.site-footer {
  background: #040711;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 0.75fr) 1fr;
  gap: 2rem;
  padding: 4rem 0 2.5rem;
}

.footer-brand p,
.footer-contact p {
  color: var(--muted);
}

.footer-title {
  margin-bottom: 1rem;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--cyan);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

.social-links {
  display: flex;
  gap: 0.7rem;
}

.social-links a {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.social-links a:hover {
  color: var(--cyan);
  border-color: var(--line-strong);
}

.page-hero {
  position: relative;
  display: flex;
  min-height: 58vh;
  align-items: end;
  overflow: hidden;
  padding: 8.5rem 0 4.5rem;
  background:
    linear-gradient(90deg, rgba(5, 8, 19, 0.92), rgba(5, 8, 19, 0.64)),
    linear-gradient(135deg, rgba(128, 92, 255, 0.3), rgba(30, 183, 255, 0.15)),
    url("../img/studio.jpg") center / cover no-repeat;
}

.page-hero.portfolio-hero {
  background:
    linear-gradient(90deg, rgba(5, 8, 19, 0.92), rgba(5, 8, 19, 0.6)),
    linear-gradient(135deg, rgba(30, 183, 255, 0.22), rgba(255, 79, 199, 0.18)),
    url("../img/game1.jpg") center / cover no-repeat;
}

.page-hero.blog-hero {
  background:
    linear-gradient(90deg, rgba(5, 8, 19, 0.92), rgba(5, 8, 19, 0.65)),
    linear-gradient(135deg, rgba(255, 210, 87, 0.12), rgba(128, 92, 255, 0.24)),
    url("../img/game2.jpg") center / cover no-repeat;
}

.page-hero.contact-hero {
  background:
    linear-gradient(90deg, rgba(5, 8, 19, 0.92), rgba(5, 8, 19, 0.66)),
    linear-gradient(135deg, rgba(83, 244, 231, 0.16), rgba(255, 79, 199, 0.18)),
    url("../img/team.jpg") center / cover no-repeat;
}

.page-hero.legal-hero {
  min-height: 42vh;
  background:
    linear-gradient(90deg, rgba(5, 8, 19, 0.94), rgba(5, 8, 19, 0.78)),
    linear-gradient(135deg, rgba(128, 92, 255, 0.2), rgba(30, 183, 255, 0.12)),
    url("../img/hero.jpg") center / cover no-repeat;
}

.page-hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 7rem;
  content: "";
  background: linear-gradient(180deg, transparent, var(--bg));
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-title {
  max-width: 850px;
  margin: 0 0 1rem;
  font-size: clamp(2.7rem, 6vw, 6.2rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: 0;
}

.page-lead {
  max-width: 710px;
  color: var(--muted-strong);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
}

.service-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 1.15fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(2rem, 4vw, 3rem) 0;
  border-top: 1px solid var(--line);
}

.service-detail:nth-child(even) {
  grid-template-columns: minmax(280px, 1.15fr) minmax(0, 0.85fr);
}

.service-detail:nth-child(even) .service-visual {
  order: -1;
}

.service-number {
  color: var(--cyan);
  font-size: 0.85rem;
  font-weight: 900;
}

.service-detail h2 {
  margin: 0.5rem 0 1rem;
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 850;
  line-height: 1.08;
}

.service-visual {
  padding: 1.25rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.035));
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-visual img {
  width: 100%;
  aspect-ratio: 1.35 / 1;
  object-fit: cover;
  border-radius: 6px;
}

.check-list {
  display: grid;
  gap: 0.75rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 0.72rem;
  color: var(--muted-strong);
}

.check-list i {
  margin-top: 0.32rem;
  color: var(--mint);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.portfolio-card {
  position: relative;
  overflow: hidden;
  min-height: 460px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.portfolio-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-7px);
}

.portfolio-card img {
  width: 100%;
  height: 245px;
  object-fit: cover;
  transition: transform 360ms ease;
}

.portfolio-card:hover img {
  transform: scale(1.05);
}

.portfolio-body {
  padding: 1.25rem;
}

.genre {
  color: var(--cyan);
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
}

.article-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.75fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
}

.article-feature:last-child {
  border-bottom: 1px solid var(--line);
}

.article-feature h2 {
  margin: 0.4rem 0 1rem;
  font-size: clamp(1.8rem, 3vw, 3.2rem);
  font-weight: 850;
  line-height: 1.08;
}

.article-panel {
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.article-panel ul {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted-strong);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
}

.contact-form {
  padding: clamp(1.2rem, 3vw, 2rem);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 8px;
  backdrop-filter: blur(18px);
}

.form-label {
  color: var(--muted-strong);
  font-weight: 800;
}

.form-control,
.form-select {
  min-height: 3.1rem;
  color: var(--ink);
  background-color: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.form-control:focus,
.form-select:focus {
  color: var(--ink);
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--line-strong);
  box-shadow: 0 0 0 0.2rem rgba(83, 244, 231, 0.16);
}

.form-control::placeholder {
  color: rgba(215, 222, 242, 0.56);
}

.form-select option {
  color: #061020;
}

.form-success {
  display: none;
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  color: #061020;
  background: linear-gradient(135deg, var(--mint), var(--cyan));
  border-radius: 8px;
  font-weight: 800;
}

.form-success.is-visible {
  display: block;
}

.contact-info-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.contact-item {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-item i {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  color: #061020;
  background: linear-gradient(135deg, var(--cyan), var(--magenta));
  border-radius: 8px;
}

.contact-item strong {
  display: block;
  margin-bottom: 0.1rem;
}

.contact-item span,
.contact-item a {
  color: var(--muted);
}

.legal-content {
  max-width: 920px;
}

.legal-content h2 {
  margin: 2rem 0 0.7rem;
  font-size: clamp(1.45rem, 2.5vw, 2.2rem);
}

.legal-content p,
.legal-content li {
  color: var(--muted);
}

.legal-content ul {
  display: grid;
  gap: 0.5rem;
  padding-left: 1.2rem;
}

.legal-note {
  padding: 1rem 1.1rem;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.js-enabled .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.js-enabled .reveal.reveal-left {
  transform: translateX(-34px);
}

.js-enabled .reveal.reveal-right {
  transform: translateX(34px);
}

.js-enabled .reveal.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

@keyframes gridDrift {
  from {
    background-position: 0 0, 0 0;
  }

  to {
    background-position: 140px 0, 0 0;
  }
}

@media (max-width: 1199.98px) {
  .service-ribbon {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-tile:nth-child(2),
  .service-tile:nth-child(4) {
    margin-top: 0;
  }

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

@media (max-width: 991.98px) {
  .navbar-collapse {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(5, 8, 19, 0.94);
    border: 1px solid var(--line);
    border-radius: 8px;
  }

  .split-asym,
  .split-asym.reverse,
  .service-detail,
  .service-detail:nth-child(even),
  .article-feature,
  .contact-layout,
  .cta-inner {
    grid-template-columns: 1fr;
  }

  .service-detail:nth-child(even) .service-visual {
    order: initial;
  }

  .image-stack {
    min-height: 380px;
  }

  .feature-wall,
  .portfolio-grid,
  .blog-grid,
  .testimonial-row {
    grid-template-columns: 1fr;
  }

  .feature-card.large img {
    min-height: 420px;
  }

  .timeline-wrap::before {
    top: 0;
    right: auto;
    bottom: 0;
    left: 1.45rem;
    width: 1px;
    height: auto;
  }

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

  .timeline-step {
    padding: 0 0 1.5rem 5rem;
  }

  .timeline-step::before {
    top: 0;
    left: 0;
  }

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

  .stat-item {
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

@media (max-width: 767.98px) {
  :root {
    --section-pad: 4rem;
  }

  .hero-home {
    min-height: 86vh;
    padding: 7.6rem 0 5.25rem;
  }

  .hero-title {
    font-size: clamp(2.55rem, 13vw, 4.4rem);
  }

  .hero-actions .btn-neon,
  .hero-actions .btn-ghost,
  .cta-inner .btn-neon {
    width: 100%;
  }

  .metric-row,
  .service-ribbon {
    grid-template-columns: 1fr;
  }

  .image-stack {
    min-height: auto;
  }

  .image-stack img {
    position: static;
    width: 100%;
  }

  .image-stack img + img {
    margin-top: 1rem;
  }

  .image-stack::after {
    display: none;
  }

  .feature-card.large .feature-body {
    position: static;
    margin: 0;
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
  }

  .feature-card.large img,
  .feature-card img {
    height: 245px;
    min-height: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    padding-top: 3rem;
  }

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

  .page-hero {
    min-height: 52vh;
    padding: 7rem 0 3.6rem;
  }
}

@media (max-width: 575.98px) {
  .container {
    width: min(100% - 1.35rem, 100%);
  }

  .proof-chip {
    width: 100%;
  }

  .portfolio-card {
    min-height: 0;
  }

  .contact-item {
    grid-template-columns: 1fr;
  }
}

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