:root {
  --ink: #171717;
  --charcoal: #3a3a3a;
  --muted: #7b7e84;
  --line: #dddbdd;
  --teal: #0a919b;
  --deep: #12474c;
  --white: #fff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 14px/1.65 Manrope, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

button {
  color: inherit;
  font: inherit;
}

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 5px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(calc(100% - 96px), 1536px);
  margin: auto;
}

.eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.site-header {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 100px;
  padding: 0 48px;
  background: var(--white);
}

.wordmark {
  display: block;
  width: 138px;
}

.wordmark img {
  width: 100%;
  height: auto;
}

nav {
  display: flex;
  gap: clamp(22px, 2.3vw, 40px);
  color: var(--charcoal);
  font-size: 14px;
  font-weight: 600;
}

nav a,
.footer a {
  transition: color 0.2s ease;
}

nav a:hover,
.footer a:hover {
  color: var(--teal);
}

.nav-toggle {
  display: none;
  width: 28px;
  height: 28px;
  padding: 5px 2px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle > span:not(.sr-only) {
  display: block;
  width: 24px;
  height: 1px;
  margin: 5px 0;
  background: currentColor;
  transition: transform 0.2s ease;
}

.nav-toggle[aria-expanded='true'] > span:nth-last-child(2) {
  transform: translateY(3px) rotate(45deg);
}

.nav-toggle[aria-expanded='true'] > span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.header-cta,
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: max-content;
  border-bottom: 1px solid currentColor;
  font-weight: 600;
}

.header-cta {
  justify-self: end;
  padding-bottom: 5px;
  font-size: 13px;
}

.text-link {
  padding-bottom: 4px;
  font-size: 13px;
}

.hero h1,
h2,
h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
  letter-spacing: -0.065em;
}

.hero {
  padding: clamp(80px, 7vw, 124px) 0 0;
  border-bottom: 1px solid rgba(221, 219, 221, 0.65);
  background-color: var(--white);
  background-image: url('../assets/hero_bg.jpg');
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero h1 {
  max-width: 1180px;
  margin: 36px 0 0;
  font-size: clamp(70px, 7.35vw, 124px);
  line-height: 0.93;
}

.hero h1 span {
  display: block;
  color: var(--teal);
}

.hero-bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: end;
  margin: 62px 0 0 50%;
}

.hero-bottom p {
  max-width: 580px;
  margin: 0;
  color: var(--charcoal);
  font-size: 18px;
}

.client-ticker {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 42px;
  align-items: center;
  min-height: 112px;
  margin-top: clamp(76px, 8vw, 124px);
  border-top: 1px solid rgba(23, 23, 23, 0.13);
}

.client-ticker-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.ticker-window {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.ticker {
  display: flex;
  width: max-content;
  animation: scroll 34s linear infinite;
}

.ticker-window:hover .ticker {
  animation-play-state: paused;
}

.ticker span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 58px;
  margin-right: 72px;
}

.ticker img {
  max-width: 148px;
  max-height: 46px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.68;
}

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

.services {
  padding: 150px 0 170px;
}

.section-intro {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 48px;
  padding-bottom: 92px;
}

.section-intro h2 {
  margin: 0;
  font-size: clamp(46px, 5.2vw, 86px);
  line-height: 1.04;
}

.section-intro > p:last-child {
  align-self: end;
  max-width: 330px;
  margin: 0;
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
}

.service-card {
  display: flex;
  flex-direction: column;
  grid-column: span 2;
  min-height: 410px;
  padding: 34px 34px 32px;
  background: var(--teal);
  color: var(--white);
}

.service-card:nth-child(2) {
  background: var(--deep);
}

.service-card.light {
  background: #e9f4f4;
  color: var(--ink);
}

.service-card.dark {
  grid-column: span 3;
  background: var(--ink);
}

.service-card.silver {
  grid-column: span 3;
  background: var(--line);
  color: var(--ink);
}

.service-card b {
  font-size: 11px;
  opacity: 0.62;
}

.service-card h3 {
  margin: 84px 0 24px;
  font-size: clamp(31px, 2.65vw, 45px);
  line-height: 1.02;
}

.service-card p {
  margin: 0;
  opacity: 0.72;
}

.card-link {
  width: max-content;
  margin-top: auto;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  font-size: 11px;
}

.industries .eyebrow,
.contact .eyebrow {
  color: rgba(255, 255, 255, 0.62);
}

.split-heading {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 48px;
  margin-bottom: 112px;
}

.split-heading h2 {
  margin: 0;
  font-size: clamp(48px, 7vw, 122px);
  line-height: 0.98;
}

.testimonials {
  padding: 128px 0 138px;
}

.testimonial-heading {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 48px;
  margin-bottom: 68px;
}

.testimonial-heading h2 {
  max-width: 960px;
  margin: 0;
  font-size: clamp(44px, 5.6vw, 88px);
  line-height: 1;
}

.testimonial-carousel {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.testimonial-slides {
  height: 330px;
}

.testimonial-slide {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 48px;
  height: 100%;
  padding: 42px 0 44px;
}

.testimonial-slide[hidden] {
  display: none;
}

.testimonial-logo {
  display: flex;
  align-items: center;
  height: 72px;
}

.testimonial-logo img {
  width: auto;
  max-width: 210px;
  max-height: 64px;
  object-fit: contain;
}

.testimonial-logo img[alt='Salesforce'] {
  max-width: 126px;
}

.testimonial-logo img[alt='HP'] {
  max-width: 64px;
}

.testimonial-slide blockquote {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
  margin: 0;
}

.testimonial-slide blockquote p {
  max-width: 980px;
  margin: 0;
  color: var(--charcoal);
  font: 400 clamp(26px, 2.8vw, 44px) / 1.25 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.045em;
}

.testimonial-slide cite {
  display: block;
  padding-top: 26px;
  color: var(--muted);
  font: 500 11px / 1.5 Manrope, sans-serif;
  font-style: normal;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.testimonial-slide cite::before {
  content: '— ';
}

.testimonial-controls {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.testimonial-count {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.testimonial-count span {
  color: var(--ink);
}

.testimonial-progress {
  height: 1px;
  overflow: hidden;
  background: var(--line);
}

.testimonial-progress span {
  display: block;
  width: 16.666%;
  height: 100%;
  background: var(--ink);
  transform-origin: left;
  transition: width 0.3s ease;
}

.testimonial-buttons {
  display: flex;
  gap: 8px;
}

.testimonial-buttons button {
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
}

.testimonial-buttons .testimonial-autoplay {
  font-size: 12px;
  letter-spacing: -0.12em;
}

.testimonial-buttons button:hover {
  border-color: var(--ink);
}

.industries {
  padding: 154px 0 176px;
  background: var(--deep);
  color: var(--white);
}

.industry-list {
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.industry-list b {
  display: none;
}

.industry-list article {
  display: grid;
  grid-template-columns: 70px minmax(220px, 0.8fr) minmax(360px, 1fr);
  gap: 30px;
  padding: 36px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.industry-list h3 {
  grid-column: 2;
  margin: 0;
  font-size: clamp(28px, 3vw, 48px);
}

.industry-list p {
  grid-column: 3;
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.insights {
  padding: 154px 0 176px;
  background: var(--ink);
  color: var(--white);
}

.insights .eyebrow {
  color: rgba(255, 255, 255, 0.62);
}

.insights-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 92px;
}

.insights-heading h2 {
  max-width: 900px;
  margin: 28px 0 0;
  font-size: clamp(52px, 6vw, 96px);
  line-height: 1;
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.insight-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.insight-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 22px;
}

.insight-card > img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 16 / 10;
  opacity: 0.92;
}

.insight-card h3 {
  margin: 14px 0 0;
  font-size: clamp(21px, 2vw, 30px);
  line-height: 1.25;
  letter-spacing: -0.04em;
}

.insight-card time {
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.insight-read-more {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  margin-top: auto;
  padding-top: 24px;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  font-size: 13px;
  font-weight: 500;
}

.insight-card:hover .insight-read-more {
  border-bottom-color: currentColor;
}

.approach {
  padding: 148px 0 160px;
  border-top: 1px solid var(--line);
}

.approach-heading {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 48px;
  margin-bottom: 96px;
}

.approach-heading h2 {
  max-width: 1200px;
  margin: 0;
  font-size: clamp(48px, 7vw, 112px);
  line-height: 0.98;
}

.approach-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.approach-list article {
  min-height: 260px;
  padding: 34px 32px 38px;
  border-right: 1px solid var(--line);
}

.approach-list h3 {
  margin: 0 0 72px;
  font-size: clamp(30px, 3vw, 48px);
  line-height: 1;
}

.approach-list p {
  max-width: 370px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.contact {
  padding: 150px 0 160px;
  background: var(--ink);
  color: var(--white);
}

.contact h2 {
  max-width: 1400px;
  margin: 70px 0 90px;
  font-size: clamp(70px, 9.6vw, 154px);
  line-height: 0.94;
}

.contact a {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  font-size: clamp(22px, 2.4vw, 38px);
  overflow-wrap: anywhere;
}

.footer.shell {
  width: 100%;
  max-width: none;
  padding: 104px max(20px, calc((100vw - 1400px) / 2)) 34px;
  background: var(--ink);
  color: var(--white);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(360px, 0.7fr);
  gap: clamp(70px, 10vw, 170px);
  align-items: end;
  padding-bottom: 76px;
}

.footer-brand .wordmark {
  width: clamp(170px, 15vw, 230px);
}

.footer-brand .wordmark img {
  filter: brightness(0) invert(1);
}

.footer-brand p {
  max-width: 620px;
  margin: 44px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font: 400 clamp(25px, 3vw, 46px) / 1.2 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.045em;
}

.footer-nav {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-content: start;
  font: 500 clamp(18px, 1.6vw, 24px) / 1.25 'Plus Jakarta Sans', sans-serif;
}

.footer-nav a {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--white);
}

.footer-nav a::after { content: '↗'; color: rgba(255, 255, 255, 0.45); font-family: Manrope, sans-serif; }
.footer-nav a:hover { color: var(--teal); }
.footer-nav a:hover::after { color: var(--teal); }

.offices address,
.footer small { font-size: 12px; }

.offices {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.offices address {
  min-height: 168px;
  padding: 30px 26px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.58);
  font-style: normal;
  line-height: 1.65;
}

.offices b {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 28px;
  color: var(--white);
}

.office-flag {
  width: 24px;
  height: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  object-fit: cover;
}

.footer small {
  display: flex;
  padding-top: 26px;
  color: rgba(255, 255, 255, 0.42);
}

@media (max-width: 900px) {
  .shell {
    width: min(calc(100% - 40px), 760px);
  }

  .site-header {
    grid-template-columns: 1fr auto auto;
    gap: 22px;
    height: 82px;
    padding: 0 20px;
  }

  .site-header .wordmark {
    width: 118px;
  }

  .js .nav-toggle {
    display: block;
    grid-column: 2;
  }

  .site-header nav {
    position: absolute;
    top: 82px;
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 18px 20px 28px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--white);
  }

  .js .site-header nav:not([data-open]) {
    display: none;
  }

  .site-header nav a {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
  }

  .site-header nav a:last-child {
    border-bottom: 0;
  }

  .header-cta {
    grid-column: 3;
  }

  .hero {
    padding-top: 72px;
    background-position: 62% top;
  }

  .hero h1 {
    font-size: clamp(56px, 14vw, 92px);
  }

  .hero-bottom {
    grid-template-columns: 1fr;
    margin-top: 44px;
    margin-left: 0;
  }

  .client-ticker {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px 0;
  }

  .client-ticker-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .section-intro,
  .split-heading,
  .testimonial-heading {
    grid-template-columns: 1fr;
  }

  .testimonial-slide {
    grid-template-columns: minmax(160px, 0.7fr) 2fr;
  }

  .testimonial-slides {
    height: 350px;
  }

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

  .service-card,
  .service-card.dark,
  .service-card.silver {
    grid-column: span 1;
  }

  .service-card:last-child {
    grid-column: 1 / -1;
  }

  .industry-list article {
    grid-template-columns: 50px 1fr;
  }

  .industry-list h3,
  .industry-list p {
    grid-column: 2;
  }

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

  .approach-heading {
    grid-template-columns: 1fr;
  }

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

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

  .offices address:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }
}

@media (max-width: 560px) {
  .site-header {
    gap: 14px;
  }

  .header-cta {
    font-size: 11px;
  }

  .hero h1 {
    font-size: 52px;
  }

  .services,
  .testimonials,
  .insights {
    padding-block: 100px;
  }

  .section-intro {
    gap: 28px;
    padding-bottom: 60px;
  }

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

  .service-card,
  .service-card.dark,
  .service-card.silver,
  .service-card:last-child {
    grid-column: 1;
    min-height: 350px;
  }

  .industries {
    padding-block: 100px;
  }

  .split-heading {
    margin-bottom: 72px;
  }

  .testimonial-heading {
    margin-bottom: 64px;
  }

  .testimonial-slide {
    grid-template-columns: 1fr;
    gap: 30px;
    min-height: 0;
    padding: 34px 0 38px;
  }

  .testimonial-slides {
    height: 480px;
  }

  .testimonial-logo {
    height: 52px;
  }

  .testimonial-logo img {
    max-height: 48px;
  }

  .testimonial-slide blockquote {
    min-height: 0;
  }

  .testimonial-slide cite {
    padding-top: 24px;
  }

  .testimonial-controls {
    grid-template-columns: auto 1fr auto;
    gap: 16px;
  }

  .testimonial-buttons button {
    width: 38px;
    height: 38px;
  }

  .industry-list article {
    grid-template-columns: 28px 1fr;
    gap: 14px;
  }

  .insights {
    padding-block: 96px;
  }

  .insights-heading {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 60px;
  }

  .insight-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .insight-card-content {
    padding-top: 20px;
  }

  .approach {
    padding-block: 96px;
  }

  .approach-heading {
    margin-bottom: 64px;
  }

  .approach-list {
    grid-template-columns: 1fr;
  }

  .approach-list article {
    min-height: 0;
    padding: 30px 26px 32px;
  }

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

  .approach-list h3 {
    margin-bottom: 32px;
  }

  .contact {
    padding-block: 100px;
  }

  .contact h2 {
    margin: 52px 0 70px;
    font-size: 58px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 64px;
    padding-bottom: 64px;
  }

  .footer-nav {
    grid-template-columns: 1fr;
    gap: 0;
  }

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

  .offices address:nth-child(-n + 3) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .footer small {
    flex-direction: column;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .ticker {
    animation: none;
  }

}
