:root {
  color-scheme: light;
  --ink: #192226;
  --muted: #5f6d70;
  --paper: #f7f4ee;
  --surface: #ffffff;
  --line: rgba(25, 34, 38, 0.14);
  --teal: #0b6f6a;
  --teal-dark: #084f4d;
  --gold: #b7832f;
  --coral: #c65f4a;
  --shadow: 0 18px 50px rgba(25, 34, 38, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 64px);
  color: #fff;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header[data-elevated="true"] {
  color: var(--ink);
  background: rgba(247, 244, 238, 0.92);
  box-shadow: 0 1px 18px rgba(25, 34, 38, 0.08);
  backdrop-filter: blur(16px);
}

.brand,
.nav,
.hero-actions,
.contact-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 8px;
  font-size: 0.82rem;
  letter-spacing: 0;
}

.nav {
  gap: clamp(14px, 3vw, 34px);
  font-size: 0.96rem;
  font-weight: 650;
}

.nav a {
  opacity: 0.86;
}

.nav a:hover {
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  padding: 138px clamp(20px, 6vw, 84px) 72px;
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(7, 21, 23, 0.9) 0%, rgba(7, 21, 23, 0.68) 44%, rgba(7, 21, 23, 0.2) 100%),
    linear-gradient(0deg, rgba(7, 21, 23, 0.68) 0%, rgba(7, 21, 23, 0) 38%);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f4c16f;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1 {
  max-width: 820px;
  font-size: clamp(2.15rem, 4.7vw, 4.7rem);
}

h2 {
  font-size: clamp(1.72rem, 2.4vw, 2.65rem);
}

h3 {
  font-size: clamp(1.16rem, 1.6vw, 1.45rem);
}

.hero-copy {
  max-width: 660px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.45vw, 1.16rem);
}

.hero-actions,
.contact-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #fff;
  background: var(--teal);
}

.button.primary:hover {
  background: var(--teal-dark);
}

.button.secondary {
  border-color: currentColor;
  background: rgba(255, 255, 255, 0.1);
}

.section {
  padding: clamp(58px, 8vw, 104px) clamp(20px, 6vw, 84px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.44fr) minmax(0, 1fr);
  gap: clamp(18px, 4vw, 60px);
  align-items: start;
  margin-bottom: clamp(30px, 5vw, 58px);
}

.section-heading .eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border-left: 4px solid var(--gold);
  padding: 4px 0 4px 12px;
  margin-top: 6px;
  color: var(--teal-dark);
  background: transparent;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 5vw, 72px);
  width: min(1040px, 100%);
  margin-left: auto;
  font-size: clamp(1rem, 1.35vw, 1.14rem);
}

.client-strip {
  display: grid;
  grid-template-columns: minmax(150px, auto) minmax(0, 1fr);
  gap: clamp(18px, 4vw, 44px);
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 20px clamp(20px, 6vw, 84px);
  background: var(--surface);
  overflow: hidden;
}

.client-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.client-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.client-track {
  display: flex;
  width: max-content;
  gap: 14px;
  animation: marquee 34s linear infinite;
}

.client-logo-card {
  display: inline-flex;
  width: 186px;
  height: 64px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(25, 34, 38, 0.13);
  border-radius: 8px;
  padding: 10px 16px;
  background: #fbfaf7;
  color: #2d383b;
  box-shadow: 0 8px 24px rgba(25, 34, 38, 0.05);
  font-size: 0.92rem;
  font-weight: 850;
  white-space: nowrap;
  overflow: hidden;
}

.client-logo-card img {
  display: block;
  width: 100%;
  max-width: 150px;
  max-height: 42px;
  object-fit: contain;
}

.client-logo-card.image-logo {
  background: #fff;
}

.client-logo-card.logo-fallback img {
  display: none;
}

.client-logo-card.logo-fallback::after {
  content: attr(data-label);
  color: #2d383b;
  font-size: 1rem;
  font-weight: 900;
}

.client-logo-card.tmobile img {
  max-width: 154px;
  max-height: 36px;
}

.client-logo-card.tmobile.logo-fallback::after {
  color: #e20074;
  font-size: 1.12rem;
}

.client-logo-card.creditas img {
  max-width: 150px;
  max-height: 44px;
}

.client-logo-card.creditas.logo-fallback::after {
  color: #1f355e;
  font-size: 0.95rem;
}

.client-logo-card.ericsson img {
  max-width: 158px;
  max-height: 36px;
}

.client-logo-card.ericsson.logo-fallback::after {
  font-size: 1.12rem;
  letter-spacing: 0.03em;
}

.client-logo-card.dativery {
  background: #fff;
}

.client-logo-card.dativery.logo-fallback::after {
  color: #17272b;
}

.client-logo-card.dativery img {
  max-width: 154px;
  max-height: 34px;
}

.client-logo-card.mpsv {
  background: #fff;
}

.client-logo-card.mpsv img {
  max-width: 150px;
  max-height: 48px;
}

.client-logo-card.mpsv.logo-fallback::after {
  color: #545860;
  font-size: 1.1rem;
}

.client-logo-card.csas {
  background: #e7f6ff;
}

.client-logo-card.csas img {
  max-width: 136px;
  max-height: 46px;
}

.client-logo-card.csas.logo-fallback::after {
  color: #00497b;
  font-size: 0.92rem;
}

.client-logo-card.pumpitup img {
  max-width: 146px;
  max-height: 50px;
}

.client-logo-card.pumpitup.logo-fallback::after {
  color: #17272b;
  font-size: 1.08rem;
}

.client-logo-card.zf img {
  max-width: 58px;
  max-height: 58px;
}

.client-logo-card.zf.logo-fallback::after {
  color: #0057b7;
  font-size: 1.46rem;
}

.text-logo {
  letter-spacing: 0;
}

.text-logo.csas {
  color: #ad1f2b;
}

.text-logo.o2 {
  color: #0046ad;
  font-size: 2rem;
  font-weight: 900;
}


@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.intro-grid p {
  margin: 0;
}

.services {
  background: var(--surface);
}

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

.service-card {
  min-height: 275px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(22px, 3vw, 34px);
  background: #fff;
  box-shadow: 0 10px 32px rgba(25, 34, 38, 0.05);
}

.service-icon,
.work-meta {
  color: var(--coral);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.service-card h3 {
  margin-top: 34px;
}

.service-card p,
.work-item p,
.site-footer {
  color: var(--muted);
}

.service-card p {
  margin: 18px 0 0;
}

.use-cases {
  background: #f2f7f5;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.case-card {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(11, 111, 106, 0.18);
  border-radius: 8px;
  padding: clamp(18px, 2.2vw, 26px);
  background: rgba(255, 255, 255, 0.82);
}

.case-meta {
  margin: 0 0 18px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.case-card p:last-child {
  margin: auto 0 0;
  color: var(--muted);
}

.case-card h3 {
  min-height: 3.1em;
}

.case-card > p:not(.case-meta):not(.case-stack):not(.case-result) {
  margin: 16px 0 0;
  color: var(--muted);
}

.case-stack {
  margin: 16px 0 18px;
  border-top: 1px solid rgba(11, 111, 106, 0.14);
  padding-top: 14px;
  color: var(--teal-dark);
  font-size: 0.88rem;
  font-weight: 760;
}

.case-result {
  border-left: 3px solid var(--gold);
  padding-left: 12px;
  font-size: 0.94rem;
}

.work-list {
  border-top: 1px solid var(--line);
}

.work-item {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1fr);
  gap: clamp(22px, 5vw, 78px);
  padding: clamp(26px, 4vw, 48px) 0;
  border-bottom: 1px solid var(--line);
}

.work-meta {
  margin: 0 0 8px;
}

.work-item p:last-child {
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.16rem);
}

.skills {
  background:
    linear-gradient(135deg, rgba(11, 111, 106, 0.08), rgba(198, 95, 74, 0.08)),
    var(--paper);
}

.skill-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 1040px;
  margin-left: auto;
}

.skill-group {
  border: 1px solid rgba(11, 111, 106, 0.16);
  border-radius: 8px;
  padding: clamp(18px, 2.4vw, 28px);
  background: rgba(255, 255, 255, 0.72);
}

.skill-group h3 {
  margin-bottom: 18px;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-cloud span {
  border: 1px solid rgba(11, 111, 106, 0.24);
  border-radius: 8px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--teal-dark);
  font-size: 0.92rem;
  font-weight: 760;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 0.7fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  margin: clamp(20px, 6vw, 84px);
  border-radius: 8px;
  padding: clamp(30px, 5vw, 58px);
  color: #fff;
  background: #1b2b34;
  box-shadow: var(--shadow);
}

.contact .eyebrow {
  color: #f4c16f;
}

.contact-copy {
  max-width: 560px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1rem, 1.35vw, 1.13rem);
}

.contact .button.secondary {
  color: #fff;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  font-weight: 760;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  padding: 13px 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #f4c16f;
  box-shadow: 0 0 0 3px rgba(244, 193, 111, 0.18);
}

.contact-form textarea {
  resize: vertical;
}

.hidden-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 6vw, 84px) 44px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--teal-dark);
  font-weight: 760;
}

.thanks-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #1b2b34;
}

.thanks-panel {
  width: min(640px, 100%);
  border-radius: 8px;
  padding: clamp(30px, 6vw, 64px);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.thanks-panel h1 {
  color: var(--ink);
  font-size: clamp(2.1rem, 5vw, 4rem);
}

.thanks-panel p:not(.eyebrow) {
  margin: 18px 0 30px;
  color: var(--muted);
  font-size: 1.1rem;
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    padding: 14px 18px;
  }

  .brand {
    max-width: 180px;
  }

  .nav {
    gap: 12px;
    font-size: 0.9rem;
  }

  .hero {
    min-height: 82vh;
    padding: 118px 20px 52px;
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(7, 21, 23, 0.92) 0%, rgba(7, 21, 23, 0.74) 100%),
      linear-gradient(0deg, rgba(7, 21, 23, 0.64) 0%, rgba(7, 21, 23, 0) 38%);
  }

  .section-heading,
  .intro-grid,
  .service-grid,
  .case-grid,
  .skill-groups,
  .work-item,
  .client-strip,
  .contact {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 12px;
  }

  .section-heading .eyebrow {
    margin-top: 0;
  }

  .intro-grid {
    margin-left: 0;
  }

  .contact {
    margin: 20px;
  }

  .client-strip {
    gap: 14px;
  }
}

@media (max-width: 560px) {
  .site-header {
    position: absolute;
    color: #fff;
  }

  .brand span:last-child {
    display: none;
  }

  .nav {
    width: min-content;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  h1 {
    font-size: 2.12rem;
  }

  .button {
    width: 100%;
  }

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