:root {
  color-scheme: dark;
  --ink: #f7fbff;
  --muted: #b8c4d5;
  --quiet: #8290a4;
  --blue: #0587ff;
  --blue-strong: #0067f5;
  --line: rgba(5, 135, 255, 0.45);
  --panel: rgba(3, 14, 30, 0.82);
  --panel-solid: #071526;
  --page: #020811;
  --page-2: #050f1c;
  --white-line: rgba(255, 255, 255, 0.12);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(135deg, rgba(0, 103, 245, 0.14), transparent 28rem),
    linear-gradient(180deg, var(--page), var(--page-2));
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(116deg, transparent 0 23%, rgba(5, 135, 255, 0.08) 23.1% 31%, transparent 31.1%),
    linear-gradient(120deg, transparent 0 67%, rgba(5, 135, 255, 0.1) 67.1% 74%, transparent 74.1%);
  pointer-events: none;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
  width: min(1180px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  border-bottom: 1px solid var(--white-line);
  background: rgba(2, 8, 17, 0.86);
  backdrop-filter: blur(18px);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  object-fit: cover;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 1.35rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.site-nav a:hover {
  color: var(--ink);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1rem;
  border: 1px solid var(--line);
  font-weight: 800;
  text-transform: uppercase;
}

.header-cta,
.button.primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-strong));
  color: white;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  min-height: calc(100svh - 76px);
  margin: 0 auto;
  padding: clamp(1.6rem, 4vw, 3rem) 0 clamp(3rem, 6vw, 4.5rem);
}

.hero-media {
  position: relative;
  order: 2;
  min-height: 360px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transform: skewX(-8deg);
  overflow: hidden;
}

.hero-media img {
  width: 112%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  transform: skewX(8deg) scale(1.08);
  transform-origin: center;
  filter: contrast(1.04) saturate(0.96);
}

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

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--blue);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-weight: 800;
  line-height: 0.93;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  font-size: clamp(3.35rem, 6.3vw, 6.05rem);
}

h1 .accent,
h2 span {
  color: var(--blue);
}

.h-line {
  display: block;
}

.hero-lede {
  max-width: 650px;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.4rem;
}

.hero-actions .button {
  min-width: 170px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  max-width: 680px;
  margin: 1.7rem 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero-stats div {
  padding: 1rem 0.9rem;
  border-right: 1px solid rgba(5, 135, 255, 0.26);
}

.hero-stats div:last-child {
  border-right: 0;
}

.hero-stats dt {
  color: var(--blue);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
}

.hero-stats dd {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.intro-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(0, 103, 245, 0.1);
}

.band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 1.2rem 0;
}

.band-inner p {
  max-width: 850px;
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.55;
}

.band-inner a {
  color: var(--blue);
  font-weight: 900;
  white-space: nowrap;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 7rem) 0;
}

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

.section-heading.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.55fr);
  gap: 2rem;
  max-width: none;
  align-items: end;
}

.section-heading h2,
.final-cta h2 {
  font-size: clamp(3rem, 6vw, 5.5rem);
}

.section-heading p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

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

.service-card {
  min-height: 255px;
  padding: 1.3rem;
  background:
    linear-gradient(139deg, rgba(5, 135, 255, 0.13), transparent 48%),
    var(--panel-solid);
}

.service-number {
  display: block;
  margin-bottom: 2.1rem;
  color: var(--blue);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
}

.service-card h3,
.portfolio-list h3,
.work-copy h3 {
  font-size: clamp(2rem, 3vw, 3rem);
}

.service-card p,
.portfolio-list p,
.work-copy p,
.final-cta p,
.process-list span {
  color: var(--muted);
  line-height: 1.62;
}

.work-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(300px, 0.38fr);
  border: 1px solid var(--line);
  background: rgba(3, 14, 30, 0.72);
  box-shadow: var(--shadow);
}

.work-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.work-visual {
  min-height: 430px;
  padding: clamp(1.35rem, 4vw, 3rem);
  background:
    linear-gradient(128deg, rgba(5, 135, 255, 0.18), transparent 44%),
    radial-gradient(circle at 22% 20%, rgba(255, 255, 255, 0.08), transparent 22rem),
    #06111f;
}

.visual-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--muted);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.visual-brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.work-visual h3 {
  margin-top: clamp(1.25rem, 3vw, 2.2rem);
  font-size: clamp(3.1rem, 6vw, 5rem);
}

.work-visual h3 span {
  color: var(--blue);
}

.visual-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.4rem;
}

.visual-cards article {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 0.9rem;
  min-height: 210px;
  padding: 0.9rem;
  border: 1px solid rgba(5, 135, 255, 0.4);
  background: rgba(2, 8, 17, 0.78);
}

.visual-cards strong {
  color: var(--ink);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.mini-screen,
.mini-phone,
.mini-brand {
  position: relative;
  align-self: stretch;
  min-height: 150px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02));
  overflow: hidden;
}

.mini-screen::before {
  position: absolute;
  inset: 16px 16px auto;
  height: 46px;
  content: "";
  background: linear-gradient(135deg, rgba(5, 135, 255, 0.9), rgba(255, 255, 255, 0.24));
}

.mini-screen span {
  position: absolute;
  left: 16px;
  right: 16px;
  height: 8px;
  background: rgba(255, 255, 255, 0.42);
}

.mini-screen span:nth-child(1) {
  top: 82px;
}

.mini-screen span:nth-child(2) {
  top: 104px;
  right: 42px;
}

.mini-screen span:nth-child(3) {
  top: 126px;
  right: 70px;
}

.mini-brand {
  display: grid;
  place-items: center;
}

.mini-brand span {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: var(--ink);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 2.7rem;
  font-weight: 800;
  transform: rotate(-8deg);
}

.mini-phone {
  width: 78px;
  margin: 0 auto;
  border-width: 3px;
  border-radius: 18px;
}

.mini-phone::before {
  position: absolute;
  top: 12px;
  left: 18px;
  right: 18px;
  height: 5px;
  border-radius: 20px;
  content: "";
  background: rgba(255, 255, 255, 0.5);
}

.mini-phone span:first-child {
  position: absolute;
  inset: 32px 12px auto;
  height: 58px;
  background: linear-gradient(135deg, rgba(5, 135, 255, 0.82), rgba(255, 255, 255, 0.18));
}

.mini-phone span:last-child {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 18px;
  height: 9px;
  background: rgba(255, 255, 255, 0.42);
}

.work-visual > p {
  margin: 1.2rem 0 0;
  color: var(--muted);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.work-copy h3 {
  margin-bottom: 1rem;
}

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

.portfolio-list article {
  border: 1px solid var(--line);
  padding: 1.25rem;
  background: rgba(3, 14, 30, 0.78);
}

.portfolio-list span {
  display: block;
  margin-bottom: 0.8rem;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.process {
  border-top: 1px solid var(--white-line);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  margin: 0;
  list-style: none;
  background: var(--white-line);
  border: 1px solid var(--white-line);
}

.process-list li {
  min-height: 220px;
  padding: 1.35rem;
  background: rgba(2, 8, 17, 0.94);
}

.process-list strong {
  display: block;
  margin-bottom: 1rem;
  color: var(--ink);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 2.05rem;
  line-height: 1;
  text-transform: uppercase;
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(300px, 0.38fr);
  gap: 2rem;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto clamp(2rem, 5vw, 4rem);
  padding: clamp(2rem, 5vw, 3.5rem);
  border: 1px solid var(--line);
  background:
    linear-gradient(132deg, rgba(5, 135, 255, 0.18), transparent 40%),
    var(--panel);
}

.final-cta p {
  max-width: 680px;
}

.contact-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding-left: 2rem;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-weight: 800;
}

.contact-panel a:first-child {
  color: var(--ink);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 1.5rem 0 2.5rem;
  border-top: 1px solid var(--white-line);
  color: var(--quiet);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

  .site-nav {
    display: none;
  }

  .hero,
  .section-heading.split,
  .work-feature,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .hero-media {
    order: -1;
    min-height: 280px;
  }

  .hero-media img {
    min-height: 280px;
  }

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

  .contact-panel {
    padding-left: 0;
    padding-top: 1.5rem;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 640px) {
  .site-header {
    display: flex;
    justify-content: space-between;
    width: 100%;
    min-height: 68px;
    padding: 0 12px;
  }

  .brand-link span {
    max-width: 132px;
    line-height: 1;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 0.8rem;
    font-size: 0.86rem;
  }

  .hero,
  .section,
  .band-inner,
  .final-cta,
  .site-footer {
    width: min(1180px, calc(100% - 24px));
    max-width: calc(100vw - 24px);
  }

  .hero {
    min-height: auto;
    padding-top: 2rem;
  }

  .hero-media {
    order: 2;
    min-height: 250px;
    margin-top: 1.5rem;
    transform: none;
  }

  .hero-media img {
    width: 100%;
    min-height: 250px;
    transform: none;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.65rem, 11.5vw, 3.05rem);
    line-height: 0.96;
  }

  .eyebrow {
    font-size: 0.9rem;
    letter-spacing: 0.2em;
  }

  .hero-lede {
    max-width: 32ch;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .button {
    min-width: 0;
    width: 100%;
  }

  .hero-stats,
  .service-grid,
  .process-list,
  .portfolio-list {
    grid-template-columns: 1fr;
  }

  .hero-stats div {
    border-right: 0;
    border-bottom: 1px solid rgba(5, 135, 255, 0.26);
  }

  .hero-stats div:last-child {
    border-bottom: 0;
  }

  .band-inner,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .work-visual {
    min-height: 300px;
  }

  .visual-cards {
    grid-template-columns: 1fr;
  }
}
