:root {
  --brand-blue: #0a5bff;
  --brand-blue-soft: rgba(10, 91, 255, 0.18);
  --brand-blue-hover: #1a73ff;
}

/*
  Fonts are now enqueued separately via fonts.css
  This keeps the font loading optimized and separate from layout styles.
*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis-smooth [data-lenis-prevent] {
  scroll-behavior: contain;
}

html,
body {
  background: #000000;
  font-family:
    "Bebas Neue",
    "Sohne",
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial;
  text-transform: uppercase;
  color: #ffffff;
}

#hero {
  width: 100%;
  object-fit: inherit;
  background-color: #000;
  display: block;
}

.brand-row {
  background: #000000;
  overflow: hidden;
  padding: 1.75rem 0;
}

.brand-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: nowrap;
  width: max-content;
  animation: brand-marquee 20s linear infinite;
}

.brand-track img {
  width: 200px;
  min-height: 140px;
  opacity: 1;
  object-fit: contain;
  filter: invert(1.05);
  scale: 0.85;
}

@keyframes brand-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-33.3333%);
  }
}

.hero-video-section {
  display: flex;
  justify-content: center;
  padding: 4rem 2rem;
  background: #000000;
}

.feedback-section {
  background: #ffffff;
  padding: 5.5rem 2rem 6.5rem;
}

.highlight-section {
  background: #000000;
  padding-top: 4rem;
}

.section-header {
  max-width: 1240px;
  margin: 0 auto 2rem;
  padding: 0 2rem;
}

.section-header .eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.35em;
  color: #6b6b6b;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-header h2 {
  font-size: clamp(2.5rem, 5.5vw, 5.5rem);
  line-height: 1.02;
  max-width: 820px;
  color: #111111;
  margin: 0;
}

.section-header--dark h2 {
  color: #ffffff;
}

.feedback-slider {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
}

.service-catalog-section {
  background: #05070a;
  padding: 4rem 2rem 6rem;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
  max-width: 1240px;
  margin: 0 auto;
}

.catalog-card {
  border-radius: 32px;
  overflow: hidden;
  background: rgba(16, 20, 28, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
  padding: 2rem;
}

.catalog-card h3 {
  font-size: clamp(1.6rem, 2vw, 2.4rem);
  line-height: 1.05;
  margin: 0 0 1.5rem;
  color: #ffffff;
}

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

.catalog-item {
  display: grid;
  gap: 0.45rem;
}

.catalog-item span {
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: #6d7cff;
}

.catalog-item p {
  margin: 0;
  color: #d4d6dc;
  font-size: 0.95rem;
  line-height: 1.8;
}

.feedback-card {
  display: flex;
  flex-direction: column;
  border-radius: 0;
  overflow: visible;
  min-height: 100%;
  background: transparent;
  box-shadow: none;
  padding: 2rem 0;
}

.feedback-image {
  display: none;
}

.feedback-copy {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex: 1;
}

.feedback-text {
  font-size: 1.05rem;
  line-height: 1.9;
  color: #111111;
  margin: 0;
  font-family: "Sohne", sans-serif;
  text-transform: none;
  font-style: italic;
  flex: 1;
}

.feedback-author,
.feedback-role {
  margin-top: auto;
}

.feedback-author {
  font-weight: 600;
  color: #111111;
  margin: 0.5rem 0 0 0;
}

.feedback-role {
  color: #5f6670;
  font-size: 0.95rem;
  margin: 0.25rem 0 0 0;
}

.feedback-slider {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem 0;
  align-items: stretch;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 100%;
  margin: 0 auto 6rem;
  padding: 0 2.5rem;
}

.highlight-card {
  position: relative;
  min-height: 90dvh;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-size: cover;
  background-position: center;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  margin-top: 1rem;
}

.highlight-technology {
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.45)),
    url("../images/technology.avif");
}

.highlight-insights {
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.45)),
    url("../images/insights.avif");
}

.highlight-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.55));
}

.highlight-copy {
  position: relative;
  z-index: 1;
  padding: 2rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  font-family: "Sohne", sans-serif;
  text-transform: none;
  letter-spacing: 0em;
}

.highlight-copy .eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.35em;
  margin-bottom: 1rem;
  color: #6b6b6b;
}

.highlight-copy {
  position: relative;
  z-index: 2;
  padding: 2rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.highlight-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1);
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
  z-index: 0;
}

.highlight-card:hover .highlight-media {
  transform: scale(1.04);
}
.highlight-copy h3 {
  font-size: clamp(2rem, 3vw, 3rem);
  color: #ffffff;
  margin: 0 0 1rem;
  max-width: 480px;
}

.highlight-title {
  font-size: clamp(1.9rem, 4.25vw, 3.6rem);
  color: #ffffff;
  margin: 0 0 0.5rem;
  line-height: 1;
  text-transform: none;
  letter-spacing: 0;
  font-family:
    "Bebas Neue",
    "Sohne",
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Arial;
}

.highlight-copy p {
  font-size: 0.95rem;
  max-width: 560px;
}

.highlight-copy p {
  color: #d1d1d1;
  font-size: 1rem;
  line-height: 1.85;
  max-width: 420px;
  margin: 0;
}

@media screen and (max-width: 980px) {
  .feedback-slider,
  .highlight-grid,
  .industries-grid,
  .catalog-grid,
  .usecases-grid {
    grid-template-columns: 1fr;
  }
  .feedback-copy {
    flex: 0;
  }

  .hero-video-shell {
    max-height: 520px;
  }
  .highlight-card {
    min-height: 60dvh;
  }
  /* When feedback stacks vertically, add a subtle left divider limited to the review text */
  .feedback-card .feedback-text {
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    padding-left: 1rem;
    display: inline-block;
    vertical-align: top;
    max-width: 100%;
  }
}

/* Specific breakpoints requested */
@media screen and (max-width: 991px) {
  .highlight-card {
    min-height: 60dvh;
  }
  .highlight-grid {
    gap: 0.9rem;
  }
}

@media screen and (max-width: 479px) {
  .highlight-card {
    min-height: 42dvh;
  }
  .highlight-grid {
    gap: 0.75rem;
  }
  .highlight-copy {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

@media screen and (max-width: 768px) {
  .feedback-slider,
  .highlight-grid,
  .industries-grid,
  .catalog-grid {
    gap: 1.25rem;
  }

  .hero-video-shell {
    /* keep vertical layout but slightly wider on tablet */
    width: min(92%, 420px);
    aspect-ratio: 9 / 16;
    max-height: 80dvh;
  }

  .feedback-card,
  .service-card,
  .catalog-card,
  .industry-card,
  .usecase-card {
    min-height: 360px;
  }
}

.hero-video-shell {
  /* Vertical video container */
  width: min(92%, 480px);
  aspect-ratio: 9 / 16;
  max-height: 94dvh;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.55);
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video-shell video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  display: block;
}

.services-section {
  background: #000000;
  padding: 4rem 2rem 6rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
  max-width: 1240px;
  margin: 0 auto;
}

.service-card {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  min-height: 520px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  border: 1px dashed;
}

/* .service-card--ai {
  background: #ff6b35;
}

.service-card--demand {
  background: #ff2f7a;
}

.service-card--conversion {
  background: #0a5bff;
} */

.service-header h3 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  line-height: 1.1;
  text-transform: uppercase;
  font-weight: 300;
  letter-spacing: 0.02em;
  margin: 0 0 1.5rem 0;
  color: #ffffff;
}

.service-description {
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0 0 2rem 0;
  color: rgba(0, 0, 0, 0.85);
}

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 300;
  color: #ffffff;
  font-family: "Sohne", sans-serif;
  cursor: default;
  transition:
    color 180ms ease,
    opacity 180ms ease,
    background-color 180ms ease;
}

.service-list:hover li {
  opacity: 0.25;
}

.service-list li:hover {
  opacity: 1;
  color: #ffffff;
  /* background: rgba(255, 255, 255, 0.06); */
}

.service-list li:last-child {
  border-bottom: none;
  margin-top: auto;
  padding-top: 1rem;
}

.service-list li::after {
  content: "→";
  margin-left: 1rem;
  font-size: 1.2rem;
}

.btn-primary {
  background: var(--brand-blue);
  color: #ffffff;
}

.industries-section {
  background: #000000;
  padding: 4rem 2rem;
}

.industries-section .section-header .eyebrow {
  color: #9aa0b4;
}

.industries-section .section-header h2 {
  color: #ffffff;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  border: 1px dashed #ffffff;
  border-radius: 0;
  overflow: hidden;
}

.industry-card {
  position: relative;
  background: transparent;
  padding: 0;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-top: 1px dashed #ffffff;
  border-left: 1px dashed #ffffff;
  overflow: hidden;
}

.industry-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.08) 0%,
    rgba(0, 0, 0, 0.32) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.industry-card:nth-child(-n + 3) {
  border-top: none;
}

.industry-card:nth-child(3n + 1) {
  border-left: none;
}

.industry-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  object-position: top;
  display: block;
  padding: 0.5rem;
  position: relative;
  z-index: 0;
}

.industry-copy {
  padding: 1.25rem;
  position: relative;
  z-index: 2;
}

.usecase-card__copy ul {
  margin: 0.8rem 0 0;
  padding-left: 1.1rem;
  list-style: disc;
}

.usecase-card__copy li {
  margin: 0.35rem 0;
  line-height: 1.65;
}

.industry-card h3 {
  font-size: 1.15rem;
  line-height: 1.15;
  margin: 0 0 0.65rem;
  color: #ffffff;
  font-weight: 300;
}

.industry-card p {
  margin: 0;
  color: #d0d4dd;
  line-height: 1.75;
  font-size: 0.95rem;
  font-family: "Sohne", sans-serif;
  text-transform: none;
}

@media screen and (max-width: 1080px) {
  .industries-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .industry-card:nth-child(3) {
    border-top: 1px solid;
    border-right: 1px solid;
    /* border-left;:  */
  }

  .industry-card:nth-child(2n + 1) {
    border-left: none;
  }
}

@media screen and (max-width: 720px) {
  .industries-grid {
    grid-template-columns: 1fr;
  }

  .industry-card {
    border-left: none;
    border-top: 1px dashed #ffffff;
  }

  .industry-card:nth-child(1) {
    border-top: none;
  }
  .industry-card:nth-child(-n + 2) {
    border-bottom: 1px dashed #ffffff;
  }
}

.usecases-section {
  background: #ffffff;
  padding: 4rem 2rem;
  overflow: hidden;
}

.usecases-section .section-header--dark h2 {
  color: #111111;
}

.usecases-grid {
  display: flex;
  /* gap: 1rem; */
  /* padding: 0 2rem; */
  overflow-x: auto;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.usecases-grid::-webkit-scrollbar {
  display: none;
}

.usecase-card {
  position: relative;
  flex: 0 0 min(360px, 80vw);
  min-width: min(320px, 80vw);
  min-height: 600px;
  overflow: hidden;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 0 28px 100px rgba(0, 0, 0, 0.35);
  border: 1px dashed #000000;
  border-left: 0px;
  padding: 1rem;
  transition:
    border-color 250ms ease,
    box-shadow 250ms ease;
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

.usecase-card::before {
  content: "";
  position: absolute;
  inset: 1rem;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.18) 0%,
    rgba(0, 0, 0, 0.38) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.usecase-card:hover::before {
  /* background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.22) 0%,
    rgba(0, 0, 0, 0.72) 100%
  ); */
  transform: translateY(-6px);
  transition:
    box-shadow 220ms ease,
    transform 220ms ease;
}

.usecase-card:nth-child(1) {
  border-left: 1px dashed #000000;
}

.usecase-card img:hover {
  box-shadow: rgba(15, 84, 202, 0.44) 0px 20px -6px;
  /* z-index: 10; */
}
.usecase-card.hovered {
  border-color: #3b82ff;
}

.usecase-card.adjacent-hovered {
  border-right-color: #3b82ff;
}

/* .usecase-card:hover::before {
  background: radial-gradient(
    ellipse at center bottom,
    rgba(59, 130, 255, 0.25) 0%,
    rgba(59, 130, 255, 0.1) 40%,
    rgba(0, 0, 0, 0.12) 100%
  );
} */
/* 
.usecase-card:first-child {
  border-left: none;
  border-top-left-radius: 32px;
  border-bottom-left-radius: 32px;
}

.usecase-card:last-child {
  border-top-right-radius: 32px;
  border-bottom-right-radius: 32px;
} */

.usecase-card img {
  position: absolute;
  inset: 1rem;
  width: calc(100% - 2rem);
  height: calc(100% - 2rem);
  object-fit: cover;
  border-radius: 4px;
  transition:
    box-shadow 220ms ease,
    transform 220ms ease;
  z-index: 0;
}

.usecase-card__badge {
  position: relative;
  z-index: 3;
}

.usecase-card__copy {
  position: relative;
  z-index: 2;
}

.usecase-card__badge {
  display: inline-flex;
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.usecase-card__copy {
  padding: 0 0.5rem 2rem;
}

.usecase-card__copy h3 {
  font-size: clamp(1.8rem, 2vw, 2.3rem);
  line-height: 1.05;
  color: #ffffff;
  margin: 0 0 0.95rem;
  font-weight: 100;
}

.usecase-card__copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.85;
  font-size: 1rem;
  font-family: "Sohne";
  text-transform: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* bluish glow around image on hover */
.usecase-card:hover img {
  /* lift image slightly; keep heavy glow behind via ::after */
  transform: translateY(-6px);
}

.usecase-card:hover {
  text-decoration: none;
}

.usecase-card:hover::after {
  opacity: 1;
  transform: scale(1.01);
}

.usecases-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  max-width: 1240px;
  margin: 1.75rem auto 0;
  padding: 0 2rem;
}

.usecase-control {
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: #111111;
  background: rgba(0, 0, 0, 0.03);
  border-radius: 999px;
  padding: 0.95rem 1.75rem;
  font-size: 0.95rem;
  cursor: pointer;
  transition:
    background 180ms ease,
    transform 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.usecase-control:hover {
  background: rgba(10, 91, 255, 0.12);
  /* transform: translateY(-1px); */
}

.usecase-next:hover {
  background: var(--brand-blue-hover);
  color: #ffffff;
}

.usecases-section .view-all-heading {
  color: #111111;
  text-decoration: none;
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.usecases-section .view-all-heading:hover {
  color: var(--brand-blue);
  transform: translateX(4px);
}

.custom-cursor-area {
  cursor: pointer;
}

.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(10, 15, 30, 0.9);
  color: #ffffff;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
  z-index: 9999;
  transition:
    transform 120ms ease,
    opacity 120ms ease;
}

.custom-cursor.visible {
  display: flex;
}

.custom-cursor::before {
  content: "";
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: rgba(59, 130, 255, 0.9);
}

.usecase-prev {
  background: rgba(10, 91, 255, 0.09);
  border-color: rgba(10, 91, 255, 0.25);
  color: var(--brand-blue);
}

.usecase-next {
  background: var(--brand-blue);
  border-color: transparent;
  color: #ffffff;
}

@media screen and (max-width: 980px) {
  .usecases-grid {
    overflow-x: auto;
  }

  .usecase-card {
    flex: 0 0 40%;
  }
}

@media screen and (max-width: 480px) {
  .usecases-section { padding: 4rem 0; }

  .usecases-grid {
    overflow-x: auto;
  }

  .usecase-card {
    flex: 0 0 70%;
  }

  .usecases-actions {
    flex-direction: row;
    align-items: stretch;
  }
}

.btn-primary:hover {
  background: #1a73ff;
}

@media screen and (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 380px;
  }

  .service-copy {
    padding: 1.5rem;
  }

  .service-text {
    font-size: 0.95rem;
  }

  .brand-track {
    gap: 3rem;
  }

  .brand-track img {
    height: 180px;
  }
}

@media screen and (max-width: 600px) {
  .section-header { padding: 0; }

  .hero-video-shell {
    /* vertical video on small screens — keep it visible but capped */
    width: min(92%, 360px);
    aspect-ratio: 9 / 16;
    max-height: 80dvh;
  }

  .brand-track {
    gap: 2.8rem;
  }

  .brand-track img {
    width: 180px;
    height: 90px;
    filter: invert(1);
    object-fit: cover;
  }

  .service-card {
    min-height: 300px;
  }
}

.hero-primary {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 2rem 120px;
  background: #000000;
  text-align: center;
}

.hero-primary__content {
  max-width: min(calc(100% - 10rem), 1100px);
  margin: 0 auto;
}
@media screen and (max-width: 980px) {
  .hero-primary__content { max-width: calc(100% - 4rem); }
}
@media screen and (max-width: 600px) {
  .hero-primary { padding: 140px 1rem 120px; }
  .hero-primary__content { max-width: calc(100% - 1rem); }
}

.hero-tagline {
  font-size: 0.95rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #6b6b6b;
  margin-bottom: 1.5rem;
}

.hero-primary h1 {
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1.02;
  margin-bottom: 1.5rem;
  color: #ffffff;
}
@media screen and (max-width: 380px) {
  .hero-primary h1 { font-size: 2.5rem; }
}
@media screen and (max-width: 320px) {
  .hero-primary { padding: 120px 1rem 80px; }
  .hero-primary h1 { font-size: 2.1rem; }
  .hero-copy { font-size: 1rem; }
}

.hero-copy {
  font-size: 1.15rem;
  line-height: 1.9;
  color: #d1d1d1;
  max-width: 700px;
  margin: 0 auto 2rem;
  font-family: "Sohne", sans-serif;
  text-transform: none !important;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  background: #ffffff;
  color: #000000;
  text-decoration: none;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: all 0.25s ease;
  font-family: "Sohne", sans-serif;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(255, 255, 255, 0.12);
}

.btn-primary {
  background: #0066ff;
  color: #ffffff;
}

.btn-primary:hover {
  background: #1d82ff;
}

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

nav {
  position: fixed;
  width: 100%;
  padding: 1em;
  display: flex;
  z-index: 5;
  mix-blend-mode: difference;
}

.nav-items {
  flex: 4;
  display: flex;
  align-items: center;
  gap: 2em;
}

.nav-items .links {
  display: flex;
  gap: 2em;
  align-items: center;
}

.nav-items .logo .link {
  height: 3rem;
}

.nav-subitems {
  width: 100%;
  flex: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2em;
}

.subitems-link {
  display: flex;
  gap: 2em;
}

@media screen and (max-width:480px) {
  .subitems-link {
    gap: 1em;
  }
  .nav-subitems {
    gap: 1em;
  }
  .nav-subitems .toggle {
    width: 60px;
  }
}

nav .link a {
  font-size: 17px;
  color: #fff;
}

nav .logo .link a {
  font-size: 30px;
}

.menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100dvh;
  display: flex;
  background-color: rgb(0, 0, 0);
  clip-path: polygon(
    49.75% 49.75%,
    50.25% 49.75%,
    50.25% 50.25%,
    49.75% 50.25%
  );
  pointer-events: none;
  opacity: 0;
  z-index: 999;
}

.logo {
  font-family: "Bebas Neue", cursive;
  font-size: 2.5em;
  color: #fff;
}

.toggle {
  width: 80px;
  overflow: hidden;
}

.toggle img {
  width: 7rem;
  height: 1.1rem;
}

.close-btn {
  position: relative;
  top: -0.5em;
  right: 1rem;
  width: 50px;
  height: 40px;
  cursor: pointer;
}

.close-btn img {
  height: 40px;
  object-fit: cover;
}

p {
  color: #fff;
}

.footer-banner {
  position: relative;
  width: 100%;
  left: 0;
  margin: 4rem 0 3rem;
  background: var(--brand-blue);
  overflow: hidden;
}

.footer-banner__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  width: 100%;
  margin: 0 auto;
  padding: 1rem 0rem;
  min-height: 140px;
  border-radius: 0;
}

.footer-banner__track {
  overflow: hidden;
  flex: 1;
}

.footer-banner__scroll {
  display: inline-flex;
  align-items: center;
  gap: 3rem;
  white-space: nowrap;
  animation: footer-marquee 52s linear infinite;
  animation-timing-function: linear;
  width: max-content;
  font-size: 4.5rem;
  letter-spacing: 0em;
  font-weight: 900;
  text-transform: uppercase;
  color: #000000;
  will-change: transform;
  padding-right: 100%;
}

@media screen and (max-width: 1024px) {
  .footer-banner__scroll {
    font-size: 3.75rem;
  }
}

@media screen and (max-width: 640px) {
  .footer-banner__scroll {
    font-size: 2rem;
  }
}

/* Pause marquee and show pointer when hovering the banner */
.footer-banner:hover .footer-banner__scroll,
.footer-banner__scroll:hover {
  animation-play-state: paused;
  -webkit-animation-play-state: paused;
  cursor: pointer;
}

.footer-banner__scroll-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.75rem;
  /* border: 1px solid rgba(255, 255, 255, 0.24); */
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.95);
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  font-weight: 300;
}

.footer-banner__scroll span {
  display: inline-block;
}

.footer-banner__track {
  min-width: 0;
}

.footer-banner__button {
  white-space: nowrap;
  padding: 1.1rem 1.75rem;
  align-self: center;
  min-width: 210px;
  background: #000;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

@keyframes footer-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media screen and (max-width: 980px) {
  .footer-banner__inner {
    flex-direction: column;
    align-items: flex-start;
    min-height: auto;
  }

  .footer-banner__button {
    align-self: stretch;
  }
}

.site-footer {
  background: #000000;
  color: #ffffff;
  padding: 0 2rem 0rem;
}

.footer-main {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 4rem;
  padding: 6rem 0 8rem;
  align-items: flex-start;
}

.footer-left-group {
  display: flex;
  gap: 4rem;
  align-items: flex-start;
  flex-wrap: wrap;
  min-width: 0;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  /* min-width: 180px; */
  max-width: 220px;
}

.footer-column:nth-child(1),
.footer-column:nth-child(2),
.footer-column:nth-child(3) {
  flex: 0 0 auto;
}

.footer-column--contact {
  flex: 0 0 320px;
  max-width: 320px;
  align-self: flex-start;
}

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

.footer-list li a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.22em;
  transition: opacity 180ms ease;
}

/* When hovering the left footer group, dim all links; hovered link stays full opacity */
.footer-left-group:hover .footer-list a {
  opacity: 0.35;
}

.footer-left-group .footer-list a:hover {
  opacity: 1;
}

.footer-column--contact .footer-info {
  display: grid;
  gap: 0.95rem;
  color: #d1d1d1;
  text-align: right;
  font-size: small;
  font-family: "Sohne", sans-serif;
  text-transform: none;
}

.footer-column--contact .footer-info p {
  margin: 0;
  line-height: 1.6;
  text-align: left;
}

.footer-column--contact .footer-info a {
  color: #ffffff;
  text-decoration: none;
}

.footer-bottom {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  padding-top: 4rem;
  padding-bottom: 12rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.footer-bottom__brand {
  margin: 0;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.75rem, 3.5vw, 5rem);
  letter-spacing: 0.2em;
  color: #ffffff;
}

.footer-bottom__meta {
  display: flex;
  align-items: center;
  /* gap: 3rem; */
  flex-wrap: wrap;
  width: 100%;
  justify-content: space-between;
  font-family: "Sohne", sans-serif;
  text-transform: none;
  font-size: smaller;
}

.footer-bottom__copyright {
  margin: 0;
  color: #c6c6c6;
  font-size: 0.92rem;
  letter-spacing: 0em;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-links:hover a {
  opacity: 0.35;
}

.footer-links a {
  color: #c6c6c6;
  font-size: 0.82rem;
  text-decoration: none;
  letter-spacing: 0em;
  transition: opacity 180ms ease;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-brandmark {
  position: absolute;
  /* right: 0; */
  text-align: center;
  width: 100%;
  bottom: -2rem;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(10.5rem, 16vw, 18rem);
  line-height: 0.85;
  color: #ffffff;
  opacity: 0.08;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.footer-brandmark .brandmark-short {
  display: none;
}

@media screen and (max-width: 900px) {
  .footer-brandmark {
    font-size: clamp(15em, 16vw, 12rem);
  }

  .footer-brandmark .brandmark-full {
    display: none;
  }

  .footer-brandmark .brandmark-short {
    display: inline;
  }
}

@media screen and (max-width: 600px) {
  .footer-brandmark {
    font-size: clamp(10rem, 20vw, 8rem);
  }
}

@media screen and (max-width: 980px) {
  .footer-main {
    flex-direction: column;
    gap: 8rem;
    padding-bottom: 5rem;
  }

  .footer-left-group {
    flex-direction: row;
    gap: 4rem;
    width: 100%;
  }

  .footer-column {
    min-width: 0%;
  }

  .footer-column--contact {
    max-width: none;
    width: 100%;
    align-self: stretch;
  }

  .footer-bottom__meta {
    width: 100%;
    justify-content: space-between;
    row-gap: 1.5rem;
  }
}

@media screen and (max-width: 720px) {
  .footer-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 1.25rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media screen and (max-width: 407px) {
  .footer-left-group {
    column-gap: 2rem;
  }
}

.col {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1em;
}

.col .logo,
.col .tagline {
  flex: 2;
}
.col .logo img {
  height: 5rem;
  width: auto;
}
.col .tagline {
  display: flex;
  gap: 7em;
  padding: 0.75em 0;
}

.col .links {
  flex: 3;
  width: fit-content;
}

.links.flex {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.links a {
  text-decoration: none;
  color: #fff;
  font-size: 60px;
}

/* Menu link hover dimming handled by JavaScript */
.menu .col .links .link {
  opacity: 1;
  transition: opacity 180ms ease;
}

.toggle,
.close-btn {
  cursor: pointer;
}

.divider {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1.5px;
  height: 0%;
  background: #fff;
}

@media screen and (max-width: 900px) {
  .link a {
    font-size: 24px;
  }
  .nav-items {
    flex: 2;
  }
  .nav-items .links {
    display: none;
  }
  .col .tagline {
    gap: 2rem;
  }
}

/* View All Container Styles */
.view-all-container {
  display: flex;
  justify-content: stretch;
  align-items: center;
  margin: 3.5rem 0 0;
  padding: 2rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.view-all-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  text-transform: capitalize;
  color: #ffffff;
  text-decoration: none;
  width: max-content;
  gap: 3rem;
  transition: all 0.3s ease;
  font-family: "Bebas Neue", sans-serif;
}

.view-all-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(2rem, 4vw, 4rem);
  width: clamp(200px, 30vw, 600px);
  flex-shrink: 0;
  margin-left: auto;
  color: currentColor;
}

.view-all-heading:hover {
  color: var(--brand-blue);
}

.view-all-heading:hover .view-all-arrow {
  transform: translateX(8px);
}

@media screen and (max-width: 768px) {
  .view-all-container {
    margin: 2.5rem 0 0;
    padding: 1.5rem 0.5rem;
  }

  .view-all-heading {
    font-size: clamp(2rem, 8vw, 3.5rem);
  }
}

@media screen and (max-width: 480px) {
  .view-all-heading {
    font-size: clamp(2.6rem, 7vw, 3rem);
  }
}

/* Link height variants — apply manually to specific link types */

/* .text-big: for large links like "View all services/usecases/industries" */
.text-big {
  display: inline-block;
  height: 80px;
  line-height: 80px;
  overflow: hidden;
}

/* .text-medium: for standard buttons like "Book a Call" */
.text-medium {
  display: inline-block;
  /* align-items: center; */
  height: 16px; /* desktop */
  line-height: 16px;
  /* padding: 0 1rem; */
  overflow: hidden;
}

/* .text-small: for nav links and smaller anchors */
.text-small {
  display: inline-block;
  /* align-items: center; */
  height: 17px; /* desktop */
  line-height: 17px;
  /* padding: 0 0.75rem; */
  overflow: hidden;
}

/* Responsive breakpoints */
@media screen and (max-width: 980px) {
  .text-big {
    height: 64px;
    line-height: 64px;
  }

  .text-medium {
    height: 16px;
    line-height: 16px;
  }

  .text-small {
    height: 17px;
    line-height: 17px;
  }
}

@media screen and (max-width: 720px) {
  .text-big {
    height: 56px;
    line-height: 56px;
  }

  .text-medium {
    height: 16px;
    line-height: 16px;
  }

  .text-small {
    height: 17px;
    line-height: 17px;
  }
}

@media screen and (max-width: 480px) {
  .text-big {
    height: 48px;
    line-height: 64px;
  }

  .text-medium {
    height: 16px;
    line-height: 16px;
  }

  .text-small {
    height: 24px;
    line-height: 24px;
  }
}

/* .text-highlight: for highlight card titles */
.text-highlight {
  display: inline-block;
  height: 3.6rem; /* desktop */
  line-height: 3.6rem;
  overflow: hidden;
}

/* Responsive breakpoints for .text-highlight */
@media screen and (max-width: 1024px) {
  .text-highlight {
    height: 2.9rem;
    line-height: 2.9rem;
  }
}

@media screen and (max-width: 768px) {
  .text-highlight {
    height: 2.1rem;
    line-height: 2.1rem;
  }
}

@media screen and (max-width: 480px) {
  .text-highlight {
    height: 2rem;
    line-height: 2rem;
  }
}

.text-usecase-controls {
  display: inline-block;
  height: 15.2px; /* desktop */
  line-height: 15.2px;
  overflow: hidden;
}

.text-menu {
  display: inline-block;
  height: 60px;
  line-height: 60px;
  overflow: hidden;
}

@media screen and (max-width: 900px) {
  .text-menu {
    height: 24px;
    line-height: 24px;
  }
}
