:root {
  --bg: #ffffff;
  --bg-soft: #f6f9fd;
  --bg-muted: #eef5fb;
  --ink: #071325;
  --ink-soft: #3f4d5f;
  --muted: #6f7f91;
  --line: #dfe7f0;
  --blue: #006fd6;
  --blue-dark: #004c98;
  --cyan: #00c8ff;
  --gold: #f5a800;
  --green: #0b9f6a;
  --panel: rgba(255, 255, 255, 0.78);
  --shadow: 0 24px 70px rgba(15, 35, 70, 0.12);
  --shadow-soft: 0 12px 34px rgba(15, 35, 70, 0.09);
  --radius: 8px;
  --max: 1180px;
  --nav-h: 76px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 1000;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: 6px;
}

.skip-link:focus {
  left: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(223, 231, 240, 0.82);
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  letter-spacing: 0;
  min-width: 0;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(7, 95, 247, 0.24);
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
  background: #06101f;
  box-shadow: 0 10px 28px rgba(0, 111, 214, 0.18);
  flex: 0 0 auto;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.94rem;
  color: var(--ink-soft);
}

.nav-links a {
  position: relative;
  padding: 7px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width 0.22s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  width: 42px;
  height: 42px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  margin: 4px auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 7px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--blue), #008ee8);
  color: #fff;
  box-shadow: 0 14px 30px rgba(7, 95, 247, 0.22);
}

.btn-primary:hover {
  background: var(--blue-dark);
}

.btn-secondary {
  background: #fff;
  color: var(--blue);
  border-color: rgba(7, 95, 247, 0.2);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.section {
  padding: 104px 22px;
}

.section.alt {
  background: var(--bg-soft);
}

.container {
  max-width: var(--max);
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--blue);
}

.section-head {
  max-width: 760px;
  margin-bottom: 42px;
}

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

h1 {
  font-size: clamp(2.7rem, 6vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: 0;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.06;
  letter-spacing: 0;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.22rem;
  line-height: 1.25;
  margin-bottom: 10px;
}

.lead {
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  color: var(--ink-soft);
  max-width: 760px;
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: grid;
  align-items: center;
  padding: 78px 22px 42px;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 15%, rgba(0, 200, 255, 0.12), transparent 34%),
    radial-gradient(circle at 86% 25%, rgba(245, 168, 0, 0.12), transparent 28%),
    linear-gradient(180deg, #fff 0%, #f7faff 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(7, 95, 247, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 95, 247, 0.06) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, black, transparent 86%);
  animation: gridShift 18s linear infinite;
}

@keyframes gridShift {
  from { transform: translateY(0); }
  to { transform: translateY(54px); }
}

.hero-grid {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, 0.82fr);
  gap: 56px;
  align-items: center;
}

.hero-copy {
  max-width: 760px;
}

.hero-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 44px;
}

.trust-item {
  padding: 16px;
  border: 1px solid rgba(223, 231, 240, 0.86);
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(12px);
  border-radius: var(--radius);
}

.trust-item strong {
  display: block;
  font-size: 1.45rem;
  line-height: 1;
}

.trust-item span {
  color: var(--muted);
  font-size: 0.88rem;
}

.visual-stack {
  position: relative;
  min-height: 548px;
}

.hero-photo,
.floating-panel,
.metric-panel {
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.66);
}

.hero-photo {
  position: absolute;
  inset: 20px 0 auto 44px;
  height: 410px;
  overflow: hidden;
  border-radius: 8px;
}

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

.floating-panel {
  position: absolute;
  left: 0;
  bottom: 42px;
  width: 78%;
  padding: 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(18px);
}

.panel-bars {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.bar {
  height: 9px;
  border-radius: 99px;
  background: var(--bg-muted);
  overflow: hidden;
}

.bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--gold));
}

.metric-panel {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 210px;
  padding: 20px;
  border-radius: 8px;
  background: rgba(8, 19, 37, 0.9);
  color: #fff;
}

.metric-panel strong {
  font-size: 2rem;
  display: block;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 46px;
  align-items: center;
}

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

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

.glass-card,
.service-card,
.product-card,
.role-card,
.value-card,
.industry-card {
  background: var(--panel);
  border: 1px solid rgba(223, 231, 240, 0.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.glass-card:hover,
.service-card:hover,
.product-card:hover,
.role-card:hover,
.value-card:hover,
.industry-card:hover {
  transform: translateY(-5px);
  border-color: rgba(7, 95, 247, 0.28);
  box-shadow: var(--shadow);
}

.image-card {
  overflow: hidden;
  height: 390px;
  border-radius: var(--radius);
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.copy-card {
  padding: 30px;
}

.contact-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-top: 18px;
  color: var(--ink-soft);
}

.contact-row p {
  margin: 0;
  color: var(--ink-soft);
}

.contact-row span:last-child {
  overflow-wrap: anywhere;
}

.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 55%, var(--gold) 100%);
  box-shadow: 0 12px 22px rgba(0, 183, 216, 0.18);
  flex: 0 0 auto;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.follow-row {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.follow-row h3 {
  margin-bottom: 14px;
}

.brand-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.brand-socials a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  color: #fff;
  border: 0;
  box-shadow: 0 12px 22px rgba(15, 35, 70, 0.12);
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.brand-socials a:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 28px rgba(15, 35, 70, 0.18);
}

.brand-socials .facebook {
  background: #1877f2;
  font-size: 1.45rem;
  font-family: Arial, sans-serif;
}

.brand-socials .linkedin {
  background: #0a66c2;
  font-size: 1rem;
  letter-spacing: 0;
}

.brand-socials .twitter {
  background: #000;
  font-size: 1.05rem;
}

.brand-socials .instagram {
  background: radial-gradient(circle at 30% 110%, #feda75 0%, #fa7e1e 24%, #d62976 50%, #962fbf 76%, #4f5bd5 100%);
}

.brand-socials .threads {
  background: #000000;
  color: #ffffff;
}

.brand-socials svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 10px;
  color: var(--ink-soft);
}

.check-list li::before {
  content: "";
  width: 18px;
  height: 18px;
  margin-top: 3px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  flex: 0 0 auto;
}

.service-card,
.value-card,
.industry-card,
.role-card {
  padding: 24px;
}

.icon-box {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  margin-bottom: 20px;
}

.icon-box svg {
  width: 21px;
  height: 21px;
}

.service-card p,
.product-card p,
.value-card p,
.industry-card p,
.role-card p {
  color: var(--ink-soft);
  margin-bottom: 0;
}

.product-card {
  overflow: hidden;
}

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

.product-card .product-body {
  padding: 24px;
}

.logo-showcase {
  overflow: hidden;
}

.logo-rail {
  --logo-tile-width: 220px;
  --logo-gap: 16px;
  overflow: hidden;
  padding: 6px 0 18px;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.logo-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: var(--logo-tile-width);
  gap: var(--logo-gap);
  width: max-content;
  animation: logoRailScroll 34s linear infinite;
}

.logo-rail:hover .logo-track,
.logo-rail:focus-within .logo-track {
  animation-play-state: paused;
}

.logo-tile {
  min-height: 154px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 22px;
  border: 1px solid rgba(223, 231, 240, 0.95);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
  scroll-snap-align: start;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.logo-tile:hover {
  transform: translateY(-5px);
  border-color: rgba(7, 95, 247, 0.28);
  box-shadow: var(--shadow);
}

.logo-mark {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--blue), var(--cyan) 58%, var(--gold));
  box-shadow: 0 14px 28px rgba(0, 111, 214, 0.2);
}

.logo-tile strong {
  font-size: 1.05rem;
  color: var(--ink);
}

.logo-tile small {
  color: var(--muted);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

@keyframes logoRailScroll {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-8 * (var(--logo-tile-width) + var(--logo-gap)))); }
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.team-card {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}

.team-card img {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
}

.team-card > div {
  padding: 22px;
  flex: 1;
}

.team-card h3 {
  margin-bottom: 10px;
}

.team-card p {
  color: var(--ink-soft);
  margin-bottom: 0;
}

.team-card span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.team-card p {
  color: var(--ink-soft);
  margin-bottom: 0;
}

.tech-band {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 26px;
  align-items: stretch;
}

.tech-panel {
  padding: 30px;
  background: #071325;
  color: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.tech-panel::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -160px;
  bottom: -180px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
}

.tech-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.tech-item {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.split-hero {
  padding: 88px 22px;
  background: linear-gradient(180deg, #fff 0%, #f7faff 100%);
}

.page-hero-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.page-hero-media {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

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

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

.timeline-step {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
}

.timeline-step span {
  color: var(--blue);
  font-weight: 900;
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 30px;
}

.form-card {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--ink-soft);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fff;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(7, 95, 247, 0.1);
}

textarea {
  min-height: 128px;
  resize: vertical;
}

.form-message {
  margin-top: 14px;
  color: var(--green);
  font-weight: 800;
}

.footer {
  background: #071325;
  color: #d9e4ef;
  padding: 62px 22px 28px;
}

.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr repeat(4, 1fr);
  gap: 28px;
}

.footer a {
  display: block;
  color: #aebccc;
  margin: 8px 0;
}

.footer-bottom {
  max-width: var(--max);
  margin: 38px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: #aebccc;
  font-size: 0.9rem;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(7, 19, 37, 0.62);
  z-index: 300;
}

.modal.open {
  display: flex;
}

.modal-dialog {
  width: min(720px, 100%);
  max-height: 92vh;
  overflow: auto;
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 26px;
  border-bottom: 1px solid var(--line);
}

.modal-body {
  padding: 26px;
}

.close-modal {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 7px;
  width: 38px;
  height: 38px;
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

.legal-content h2 {
  font-size: 1.45rem;
  margin-top: 34px;
}

.legal-content p {
  color: var(--ink-soft);
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 400;
  width: min(560px, calc(100vw - 32px));
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: stretch;
  padding: 38px 40px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background: #000;
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
  color: #f7f7f4;
  transform: translateX(-50%);
}

.cookie-banner strong {
  display: block;
  margin-bottom: 18px;
  font-size: 1.55rem;
  line-height: 1.15;
}

.cookie-banner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.02rem;
  line-height: 1.42;
}

.cookie-banner p a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.cookie-customize,
.cookie-reject,
.cookie-accept {
  min-height: 56px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  font-weight: 800;
  cursor: pointer;
}

.cookie-customize {
  grid-column: 1 / -1;
  color: #fff;
  background: transparent;
}

.cookie-reject {
  color: #fff;
  background: transparent;
}

.cookie-accept {
  color: #222;
  background: #f7f4ec;
  border-color: #f7f4ec;
}

.cookie-banner.closing {
  opacity: 0;
  transform: translate(-50%, 12px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

@media (max-width: 980px) {
  .nav {
    padding: 0 18px;
  }

  .brand-text {
    max-width: 300px;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    height: calc(100vh - var(--nav-h));
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 28px;
    background: #fff;
    font-size: 1.1rem;
  }

  .nav-links.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .nav-actions .btn-secondary {
    display: none;
  }

  .hero-grid,
  .grid-2,
  .page-hero-grid,
  .tech-band,
  .contact-wrap {
    grid-template-columns: 1fr;
  }

  .visual-stack {
    min-height: 480px;
  }

  .grid-3,
  .grid-4,
  .team-grid,
  .timeline,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .brand-logo {
    width: 38px;
    height: 38px;
  }

  .brand-text {
    max-width: 230px;
  }

  .page-hero-media img {
    height: 340px;
  }

  .contact-wrap {
    gap: 22px;
  }

  .form-card,
  .copy-card {
    padding: 24px;
  }

  .product-card img {
    height: 190px;
  }

  .team-card img {
    height: 240px;
  }

  .cookie-banner {
    width: min(560px, calc(100vw - 28px));
    padding: 30px;
  }
}

@media (max-width: 640px) {
  :root {
    --nav-h: 68px;
  }
  @media (max-width: 400px) {
  .team-card img {
    height: 150px;
  }
}

  .section {
    padding: 72px 18px;
  }

  .hero {
    padding: 56px 18px 32px;
    min-height: auto;
  }

  .trust-strip,
.grid-3,
.grid-4,
.timeline,
.form-grid,
.tech-list,
.footer-grid {
  grid-template-columns: 1fr;
}

/* Keep team cards in 2 columns on mobile */
.team-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

  .hero-actions,
  .cta-row {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-photo {
    left: 0;
    height: 320px;
  }

  .floating-panel {
    width: 88%;
    bottom: 70px;
  }

  .metric-panel {
    width: 176px;
  }

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

@media (max-width: 480px) {
  .nav {
    padding: 0 14px;
    gap: 12px;
  }

  .brand {
    gap: 8px;
  }

  .brand-logo {
    width: 34px;
    height: 34px;
    border-radius: 8px;
  }

  .brand-text {
    max-width: 178px;
    font-size: 0.9rem;
  }

  .menu-toggle {
    width: 38px;
    height: 38px;
  }

  h1 {
    font-size: clamp(2.25rem, 14vw, 3.1rem);
  }

  h2 {
    font-size: clamp(1.75rem, 10vw, 2.35rem);
  }

  .lead {
    font-size: 1rem;
  }

  .visual-stack {
    min-height: 420px;
  }

  .hero-photo {
    height: 282px;
  }

  .floating-panel {
    width: 94%;
    padding: 14px;
  }

  .metric-panel {
    width: 158px;
    padding: 16px;
  }

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

  .service-card,
  .value-card,
  .industry-card,
  .role-card,
  .form-card,
  .copy-card {
    padding: 20px;
  }

  .contact-row {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 12px;
    font-size: 0.94rem;
  }

  .contact-icon,
  .brand-socials a {
    width: 36px;
    height: 36px;
  }

  .brand-socials svg,
  .contact-icon svg {
    width: 18px;
    height: 18px;
  }

  .cookie-banner {
    left: 50%;
    bottom: 12px;
    width: calc(100vw - 20px);
    padding: 24px;
    border-radius: 22px;
  }

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

  .cookie-banner strong {
    font-size: 1.35rem;
  }

  .cookie-banner p {
    font-size: 0.96rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
.linkedin-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
    text-decoration: none;
}

.linkedin-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
    text-decoration: none !important;
}

/* Hero company branding */
.hero-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 12px;
}

.hero-brand div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hero-brand strong {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.hero-brand span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}
@media (max-width: 600px) {
  .hero-brand {
    margin-bottom: 22px;
  }

  .hero-brand img {
    width: 44px;
    height: 44px;
  }

  .hero-brand strong {
    font-size: 16px;
  }

  .hero-brand span {
    font-size: 11px;
  }
}
/* ================================
   TEAM CARD HOVER FOCUS EFFECT
   ================================ */

.team-grid {
  position: relative;
}

.team-card {
  position: relative;
  transition:
    filter 0.4s ease,
    opacity 0.4s ease,
    transform 0.4s ease,
    box-shadow 0.4s ease;
  z-index: 1;
}

/* When any card is hovered,
   blur all the other cards */
.team-grid:has(.team-card:hover) .team-card:not(:hover) {
  filter: blur(7px);
  opacity: 0.35;
  transform: scale(0.98);
}

/* Keep the hovered card sharp */
.team-grid .team-card:hover {
  filter: blur(0);
  opacity: 1;
  transform: scale(1.02);
  z-index: 10;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18);
}
/* =========================================
   PRODUCT / CLIENT LOGO MARQUEE
   ========================================= */

/* Stop the logo cards from acting like links */
.logo-tile {
  pointer-events: none;
  cursor: default;
}

/* Pause the moving track when mouse is over it */
.logo-rail:hover .logo-track {
  animation-play-state: paused;
}
.threads {
    background: #000;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.threads svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    display: block;
}
/* =========================================================
   MOBILE RESPONSIVE IMPROVEMENTS
   ========================================================= */

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

/* ---------- Tablets ---------- */
@media (max-width: 980px) {

  .nav {
    padding: 0 18px;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    height: calc(100vh - var(--nav-h));
    padding: 24px 22px;
    background: #fff;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow-y: auto;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 16px 4px;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--line);
  }

  .menu-toggle {
    display: block;
  }

  .nav-actions .btn-secondary {
    display: none;
  }

  .hero-grid,
  .grid-2,
  .page-hero-grid,
  .tech-band,
  .contact-wrap {
    grid-template-columns: 1fr;
  }

  .visual-stack {
    min-height: 480px;
  }

  .grid-3,
  .grid-4,
  .team-grid,
  .timeline,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* ---------- Mobile ---------- */
@media (max-width: 640px) {

  :root {
    --nav-h: 68px;
  }

  /* Navigation */
  .nav {
    padding: 0 14px;
    gap: 10px;
  }

  .brand {
    min-width: 0;
    flex: 1;
  }

  .brand-logo {
    width: 36px;
    height: 36px;
    border-radius: 8px;
  }

  .brand-text {
    max-width: calc(100vw - 125px);
    font-size: 0.9rem;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }


  /* Sections */
  .section {
    padding: 64px 18px;
  }

  .split-hero {
    padding: 60px 18px;
  }

  .hero {
    min-height: auto;
    padding: 54px 18px 34px;
  }


  /* Typography */
  h1 {
    font-size: clamp(2.2rem, 12vw, 3.2rem);
    line-height: 1;
  }

  h2 {
    font-size: clamp(1.8rem, 9vw, 2.5rem);
    line-height: 1.08;
  }

  h3 {
    font-size: 1.1rem;
  }

  .lead {
    font-size: 1rem;
    line-height: 1.6;
  }


  /* Buttons */
  .hero-actions,
  .cta-row {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn,
  .cta-row .btn {
    width: 100%;
  }


  /* Hero */
  .hero-grid {
    gap: 36px;
  }

  .visual-stack {
    min-height: 420px;
  }

  .hero-photo {
    position: absolute;
    left: 0;
    right: 0;
    height: 280px;
  }

  .floating-panel {
    width: 92%;
    left: 0;
    bottom: 55px;
    padding: 16px;
  }

  .metric-panel {
    width: 160px;
    right: 0;
    bottom: 0;
    padding: 16px;
  }


  /* Trust cards */
  .trust-strip {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 30px;
  }


  /* All card grids */
  .grid-3,
  .grid-4,
  .team-grid,
  .timeline,
  .tech-list {
    grid-template-columns: 1fr;
  }


  /* Team cards */
  .team-card img {
    height: 280px;
  }


  /* Contact */
  .contact-wrap {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .form-card,
  .copy-card {
    padding: 20px;
  }

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

  .field.full {
    grid-column: auto;
  }

  input,
  select,
  textarea {
    font-size: 16px;
  }

  .contact-row {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    font-size: 0.95rem;
  }

  .contact-icon {
    width: 38px;
    height: 38px;
  }


  /* Social icons */
  .brand-socials {
    gap: 10px;
  }

  .brand-socials a {
    width: 40px;
    height: 40px;
  }


  /* Page hero image */
  .page-hero-media img {
    height: 280px;
  }


  /* Product cards */
  .product-card img {
    height: 190px;
  }


  /* Logo marquee */
  .logo-rail {
    width: 100%;
    overflow: hidden;
  }

  .logo-track {
    --logo-tile-width: 190px;
    --logo-gap: 12px;
  }

  .logo-tile {
    min-height: 140px;
    padding: 18px;
  }


  /* Footer */
  .footer {
    padding: 52px 18px 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    margin-top: 30px;
  }


  /* Cookie banner */
  .cookie-banner {
    left: 50%;
    bottom: 10px;
    width: calc(100vw - 20px);
    padding: 22px;
    border-radius: 20px;
  }

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

  .cookie-customize {
    grid-column: auto;
  }
}


/* ---------- Small phones ---------- */
@media (max-width: 400px) {

  .brand-text {
    max-width: 155px;
    font-size: 0.82rem;
  }

  .brand-logo {
    width: 32px;
    height: 32px;
  }

  .menu-toggle {
    width: 36px;
    height: 36px;
  }

  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

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

  .form-card,
  .copy-card,
  .service-card,
  .value-card,
  .industry-card,
  .role-card {
    padding: 18px;
  }

  .team-card img {
    height: 240px;
  }

  .brand-socials a {
    width: 38px;
    height: 38px;
  }
}


/* ---------- Touch devices ---------- */
/* Don't create strange hover effects on phones */
@media (hover: none) and (pointer: coarse) {

  .glass-card:hover,
  .service-card:hover,
  .product-card:hover,
  .role-card:hover,
  .value-card:hover,
  .industry-card:hover,
  .team-card:hover,
  .logo-tile:hover {
    transform: none;
    box-shadow: var(--shadow-soft);
  }

  .team-grid:has(.team-card:hover) .team-card:not(:hover) {
    filter: none;
    opacity: 1;
    transform: none;
  }

  .team-grid .team-card:hover {
    transform: none;
    box-shadow: var(--shadow-soft);
  }

  .btn:hover {
    transform: none;
  }
}


/* ---------- Accessibility / reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {

  .logo-track,
  .hero::before {
    animation: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}
/* =====================================================
   FINAL MOBILE TEAM GRID FIX
   Keep team cards 2 columns on mobile
   ===================================================== */

@media (max-width: 640px) {
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .team-card img {
    height: 180px;
  }

  .team-card > div {
    padding: 14px;
  }

  .team-card span {
    font-size: 0.62rem;
    line-height: 1.3;
  }

  .team-card h3 {
    font-size: 0.95rem;
    margin-bottom: 8px;
  }
}

@media (max-width: 400px) {
  .team-card img {
    height: 155px;
  }

  .team-card > div {
    padding: 11px;
  }

  .team-card span {
    font-size: 0.58rem;
  }

  .team-card h3 {
    font-size: 0.88rem;
  }
}
@media (max-width: 640px) {
  .image-card {
    height: 300px;
  }

  .image-card img {
    height: 100%;
    object-fit: cover;
  }
}
/* =========================================
   MOBILE CARD GRID - 2 COLUMNS
   ========================================= */

@media (max-width: 640px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .service-card,
  .value-card,
  .industry-card {
    padding: 16px;
  }

  .service-card h3,
  .value-card h3,
  .industry-card h3 {
    font-size: 0.95rem;
    line-height: 1.25;
  }

  .service-card p,
  .value-card p,
  .industry-card p {
    font-size: 0.85rem;
    line-height: 1.5;
  }

  .icon-box {
    width: 38px;
    height: 38px;
    margin-bottom: 14px;
  }

  .icon-box svg {
    width: 18px;
    height: 18px;
  }
}
/* Mobile service cards */
@media (max-width: 640px) {

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

  .service-grid .service-card {
    padding: 16px;
  }

  .service-grid .service-card h3 {
    font-size: 1rem;
    line-height: 1.25;
    margin-bottom: 10px;
  }

  .service-grid .service-card p {
    font-size: 0.85rem;
    line-height: 1.5;
  }

}
@media (max-width: 640px) {

  .services-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .services-page-grid .service-card {
    padding: 16px;
  }

  .services-page-grid .service-card h3 {
    font-size: 1rem;
    line-height: 1.25;
    margin-bottom: 10px;
  }

  .services-page-grid .service-card p {
    font-size: 0.85rem;
    line-height: 1.5;
  }

}
@media (max-width: 640px) {

  .services-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .services-page-grid .service-card {
    padding: 16px;
  }

  .services-page-grid .service-card h3 {
    font-size: 1rem;
    line-height: 1.25;
    margin-bottom: 10px;
  }

  .services-page-grid .service-card p {
    font-size: 0.85rem;
    line-height: 1.5;
  }

}/* =========================================
   PRODUCT LOGO SHOWCASE - ALIGNMENT FIX
   ========================================= */

.logo-tile {
  height: 390px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  box-sizing: border-box;
}

/* Give every product logo exactly the same space */
.logo-tile img {
  width: 100%;
  height: 190px;
  object-fit: contain;
  display: block;
  margin-bottom: 20px;
  flex-shrink: 0;
}

/* Keep every product name on the same horizontal line */
.logo-tile strong {
  display: block;
  min-height: 2.7rem;
  margin: 0 0 8px;
  line-height: 1.3;
}

/* Keep product category aligned too */
.logo-tile small {
  display: block;
  min-height: 1.5rem;
  line-height: 1.3;
}


/* =========================================
   MOBILE PRODUCT LOGO SHOWCASE
   ========================================= */

@media (max-width: 640px) {

  .logo-tile {
    height: 300px;
    padding: 16px;
  }

  .logo-tile img {
    height: 130px;
    margin-bottom: 14px;
  }

  .logo-tile strong {
    font-size: 0.9rem;
    min-height: 2.4rem;
    line-height: 1.25;
  }

  .logo-tile small {
    font-size: 0.68rem;
    min-height: 1.2rem;
  }

}