/* ==========================================================
   Tokens
   ========================================================== */
:root {
  --ink: #001517;
  --ink-deep: #000d0e;
  --teal-dark: #012b30;
  --teal: #056671;
  --mint: #14f3c1;
  --paper: #f5f7f7;
  --paper-2: #ebf4f5;
  --white: #ffffff;
  --word-dim: #d8e9eb;

  --container: 1250px;
  --gutter: 32px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.45;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg, canvas { display: block; }
img { max-width: 100%; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input { font: inherit; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ==========================================================
   Typography
   ========================================================== */
h1, h2, h3, h4 { font-weight: 400; }

.title-xl {
  font-size: clamp(48px, 6.6vw, 95px);
  line-height: 1.01;
  letter-spacing: -0.064em;
}
.title-lg {
  font-size: clamp(36px, 3.75vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.06em;
}
.title-md {
  font-size: clamp(32px, 3.2vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.06em;
}
.title-card {
  font-size: 25px;
  line-height: 1.2;
  letter-spacing: -0.035em;
}
.text-lg { font-size: 18px; line-height: 1.4; letter-spacing: -0.02em; }
.text-md { font-size: 17px; line-height: 1.4; letter-spacing: -0.015em; }
.text-sm { font-size: 16px; line-height: 1.45; letter-spacing: -0.015em; }
.text-dim { opacity: 0.65; }
.accent { color: var(--mint); }

/* Eyebrow label with a blinking teal square */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  letter-spacing: -0.015em;
  color: color-mix(in srgb, currentColor 80%, transparent);
  margin-bottom: 10px;
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  background: var(--teal);
  animation: eyebrow-blink 0.82s linear infinite;
}
@keyframes eyebrow-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ==========================================================
   Buttons (label rolls on hover, arrow swaps diagonally)
   ========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  height: 48px;
  padding: 5px 5px 5px 32px;
  border-radius: 1px;
  font-size: 17px;
  letter-spacing: -0.02em;
  white-space: nowrap;
  transition: background-color 0.3s var(--ease);
}
.btn--mint { background: var(--mint); color: var(--ink-deep); }
.btn--white { background: var(--white); color: var(--ink); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--plain { padding: 10px 32px; height: 43px; background: var(--mint); color: var(--ink-deep); }

.btn__icon {
  position: relative;
  width: 38px;
  height: 38px;
  flex: none;
  overflow: hidden;
  background: var(--teal-dark);
  color: var(--mint);
}
.btn--white .btn__icon,
.btn--light .btn__icon { color: var(--white); }
.btn__icon svg {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 16px;
  height: 16px;
  transition: transform 0.5s var(--ease);
}
.btn__icon svg + svg { transform: translate(-150%, 150%); }
.btn:hover .btn__icon svg:first-child { transform: translate(150%, -150%); }
.btn:hover .btn__icon svg + svg { transform: none; }

/* Text roll used in buttons and nav links */
.roll {
  display: inline-block;
  height: 1.38em;
  line-height: 1.38em;
  overflow: hidden;
  vertical-align: top;
}
.roll > span {
  display: block;
  transition: transform 0.5s var(--ease);
}
.roll > span::after {
  content: attr(data-text);
  display: block;
}
a:hover .roll > span,
button:hover .roll > span { transform: translateY(-1.38em); }

/* ==========================================================
   Header
   ========================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 63px;
  background: var(--ink);
  color: var(--white);
}
.site-header .container {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  letter-spacing: -0.05em;
}
.brand svg { width: 16px; height: 16px; color: var(--mint); }
.nav { display: flex; gap: 40px; }
.nav a { font-size: 15px; letter-spacing: -0.02em; opacity: 0.9; }
.header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 16px;
  font-size: 15px;
  letter-spacing: -0.02em;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1px;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.header-cta:hover { background: var(--mint); color: var(--ink-deep); border-color: var(--mint); }
.menu-toggle { display: none; justify-self: end; width: 38px; height: 38px; color: var(--white); }

/* ==========================================================
   Hero
   ========================================================== */
.hero {
  position: relative;
  height: 900px;
  min-height: 100vh;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}
.hero__waves {
  position: absolute;
  left: 0;
  top: 20px;
  width: 100%;
  height: 730px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 62%, transparent 92%);
          mask-image: linear-gradient(to bottom, #000 0%, #000 62%, transparent 92%);
}
.hero .container {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding-top: 120px;
  padding-bottom: 40px;
}
.hero__title { max-width: 900px; }
.hero__bottom {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}
.hero__intro { width: 400px; }
.hero__intro p {
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: -0.04em;
}
.hero__divider {
  height: 1px;
  margin: 26px 0 28px;
  background: rgba(255, 255, 255, 0.1);
}
.hero__video {
  position: relative;
  flex: none;
  width: 350px;
  height: 200px;
  overflow: hidden;
  border-radius: 1px;
  background: var(--teal-dark);
}
.hero__video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Teal wash over the lower part of the video */
.hero__video::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(rgba(30, 138, 138, 0) 16%, rgba(30, 138, 138, 0.4) 100%);
}
.hero__pause {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 1;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  background: rgba(40, 52, 52, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.hero__pause:hover { background: rgba(40, 52, 52, 0.8); transform: scale(1.06); }
.hero__pause svg { width: 12px; height: 12px; }

.hero__logos {
  margin-top: 50px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ==========================================================
   Marquee (shared)
   ========================================================== */
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee var(--marquee-speed, 30s) linear infinite;
}
.marquee:hover .marquee__track--pausable { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

.logo-row { display: flex; align-items: center; gap: 95px; padding-right: 95px; }
.logo-mark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 27px;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}
.logo-mark svg { width: 24px; height: 24px; }

/* ==========================================================
   About
   ========================================================== */
.about { padding: 120px 0 5px; background: var(--paper); }
.about__top {
  display: grid;
  grid-template-columns: 425px 1fr;
  align-items: start;
}
.about__statement {
  font-size: clamp(30px, 3vw, 43px);
  line-height: 1.12;
  letter-spacing: -0.068em;
  text-indent: 64px;
  max-width: 826px;
}
.about__statement .word { color: var(--word-dim); transition: color 0.4s var(--ease); }
.about__statement .word.is-lit { color: #000; }
.about__actions {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 48px;
}
.trust { display: flex; align-items: center; gap: 12px; }
.trust__faces { display: flex; }
.trust__faces img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--paper);
  margin-left: -10px;
}
.trust__faces img:first-child { margin-left: 0; }
.trust p { font-size: 14px; line-height: 1.3; letter-spacing: -0.01em; }
.trust p:first-child { opacity: 0.5; }
.trust p:last-child { opacity: 0.75; }

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
  margin-top: 60px;
}
.pillar {
  position: relative;
  min-height: 395px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--white);
  overflow: hidden;
}
.pillar--dark { background: var(--teal-dark); color: var(--white); }
.pillar__icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  background: var(--paper-2);
  color: var(--teal);
}
.pillar__icon svg { width: 22px; height: 22px; }
.pillar__rays {
  position: absolute;
  left: -40px;
  top: -40px;
  width: 300px;
  height: 300px;
  color: rgba(255, 255, 255, 0.16);
  pointer-events: none;
}
.pillar h3 { margin-bottom: 10px; position: relative; }
.pillar p { opacity: 0.65; max-width: 345px; position: relative; }

/* ==========================================================
   Ticker
   ========================================================== */
.ticker { padding: 62px 0 93px; background: var(--paper); }
.ticker__row { display: flex; align-items: center; }
.ticker__word {
  display: inline-flex;
  align-items: center;
  font-size: clamp(44px, 5.2vw, 74px);
  letter-spacing: -0.06em;
  line-height: 1.01;
  white-space: nowrap;
  color: var(--ink);
}
.ticker__word::after {
  content: "";
  width: 21px;
  height: 21px;
  margin: 0 40px;
  border-radius: 50%;
  background: var(--ink);
}

/* ==========================================================
   Services carousel
   ========================================================== */
.services { padding: 120px 0; background: var(--white); overflow: hidden; }
.services__head { max-width: 600px; margin-bottom: 64px; }
.carousel { position: relative; }
.carousel__track {
  display: flex;
  gap: 33px;
  transition: transform 0.8s var(--ease);
  will-change: transform;
}
.service-card {
  position: relative;
  flex: none;
  width: 391px;
  height: 446px;
  padding: 24px;
  border-radius: 2px;
  overflow: hidden;
  color: var(--white);
  background: var(--ink-deep);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.service-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 13, 14, 0) 40%, rgba(0, 13, 14, 0.85) 100%);
}
.service-card:hover img { transform: scale(1.06); }
.service-card > *:not(img) { position: relative; z-index: 1; }
.service-card__icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
}
.service-card__icon svg { width: 18px; height: 18px; }
.service-card h3 { margin-bottom: 8px; }
.service-card p { opacity: 0.8; }

.carousel__nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}
.carousel__btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--paper-2);
  color: var(--teal);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.carousel__btn:hover { background: var(--teal); color: var(--white); }
.carousel__btn svg { width: 14px; height: 14px; }
.services__foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 8px;
}
.services__foot p { max-width: 300px; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--teal);
}
.text-link svg { width: 14px; height: 14px; transition: transform 0.4s var(--ease); }
.text-link:hover svg { transform: translate(3px, -3px); }

/* ==========================================================
   Values (cards split apart around a growing image)
   ========================================================== */
.values { padding: 120px 0; background: var(--teal-dark); color: var(--white); }
.values__head {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.values__head p { max-width: 550px; margin: 18px auto 0; }
.values__track { height: 1145px; margin-top: 68px; }
.values__stage {
  position: sticky;
  top: 140px;
  height: 556px;
  --p: 0;
}
.value-card {
  position: absolute;
  width: calc((100% - 370px - 32px) / 2);
  height: 270px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 1px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.value-card--left { left: 0; transform: translateX(calc((1 - var(--p)) * 196px)); }
.value-card--right { right: 0; transform: translateX(calc((1 - var(--p)) * -196px)); }
.value-card--top { top: 0; }
.value-card--bottom { top: 286px; }
.value-card__icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
}
.value-card__icon svg { width: 16px; height: 16px; }
.value-card h3 { margin-bottom: 12px; }
.value-card p { opacity: 0.65; max-width: 315px; }
/* Image fades in, scales up from 30% and rises into place as you scroll */
.values__image {
  position: absolute;
  left: calc(50% - 185px);
  top: 0;
  z-index: 2;
  width: 370px;
  height: 556px;
  overflow: hidden;
  opacity: var(--p);
  transform: translateY(calc((1 - var(--p)) * 100px)) scale(calc(0.3 + var(--p) * 0.7));
}
.values__image img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================
   Case studies + testimonials
   ========================================================== */
.cases { padding: 120px 0; background: var(--paper); }
.section-head-center {
  max-width: 600px;
  margin: 0 auto 64px;
  text-align: center;
}
.case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.case-card {
  position: relative;
  height: 455px;
  padding: 30px;
  overflow: hidden;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.case-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.case-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 13, 14, 0) 35%, rgba(0, 13, 14, 0.78) 100%);
}
.case-card:hover img { transform: scale(1.05); }
.case-card > *:not(img) { position: relative; z-index: 1; }
.case-card__tag {
  position: absolute !important;
  top: 30px;
  left: 30px;
  padding: 5px 14px;
  border-radius: 19px;
  background: rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(8px);
  font-size: 14px;
}
.case-card h3 { max-width: 400px; margin-bottom: 18px; }
.case-card__meta { display: flex; align-items: center; gap: 10px; font-size: 16px; opacity: 0.85; }
.case-card__meta i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; }

.testimonials { margin-top: 16px; }
.testimonial-row { display: flex; gap: 16px; padding-right: 16px; }
.testimonial {
  flex: none;
  width: 350px;
  min-height: 270px;
  padding: 28px;
  background: var(--white);
  display: flex;
  flex-direction: column;
}
.stars { display: flex; gap: 3px; color: var(--teal); margin-bottom: 18px; }
.stars svg { width: 13px; height: 13px; }
.testimonial blockquote { font-size: 18px; line-height: 1.4; letter-spacing: -0.02em; }
.testimonial figcaption { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 24px; }
.testimonial figcaption img { width: 40px; height: 40px; object-fit: cover; border-radius: 1px; }
.testimonial figcaption strong { display: block; font-weight: 400; font-size: 17px; letter-spacing: -0.02em; }
.testimonial figcaption span { font-size: 16px; opacity: 0.65; }
.cases__cta { display: flex; justify-content: center; margin-top: 48px; }

/* ==========================================================
   Approach (sticky steps)
   ========================================================== */
.approach { padding: 120px 0; background: var(--white); }
.approach__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}
.approach__head .title-md { max-width: 600px; }
.approach__head p { max-width: 520px; margin-top: 18px; }
.approach__body {
  display: grid;
  grid-template-columns: 1fr 649px;
  margin-top: 50px;
}
.steps {
  position: sticky;
  top: 120px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-left: 20px;
}
.steps button {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  letter-spacing: -0.03em;
  opacity: 0.35;
  transition: opacity 0.4s var(--ease);
}
.steps button::before { content: ""; width: 7px; height: 7px; background: currentColor; }
.steps button.is-active { opacity: 1; }
.step-list { display: flex; flex-direction: column; gap: 60px; }
.step-item__media { height: 370px; overflow: hidden; }
.step-item__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.step-item:hover .step-item__media img { transform: scale(1.04); }
.step-item__icon { width: 30px; height: 30px; margin: 20px 0 11px; color: var(--ink); }
.step-item h3 { margin-bottom: 10px; }
.step-item p { opacity: 0.65; }

/* ==========================================================
   Why us (pinned heading, cards scroll past)
   ========================================================== */
.why { position: relative; background: var(--paper); }
.why__pin {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 63px var(--gutter) 0;
}
.why__pin .title-lg { max-width: 700px; margin: 0 auto; }
.why__pin p { max-width: 600px; margin: 22px auto 32px; }
.why__cards {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 80px;
  margin-top: 90px;
  padding-bottom: 60vh;
}
.why-card {
  width: 354px;
  min-height: 340px;
  padding: 40px;
  background: var(--teal);
  color: var(--white);
  border-radius: 1px;
  box-shadow: 0 32px 64px -16px rgba(0, 20, 23, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.why-card:nth-child(odd) { margin-left: 8px; }
.why-card:nth-child(even) { margin-left: auto; margin-right: 8px; }
.why-card__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: var(--teal-dark);
  color: var(--mint);
}
.why-card__icon svg { width: 22px; height: 22px; }
.why-card h3 { margin-bottom: 14px; }
.why-card p { opacity: 0.8; }

/* ==========================================================
   Comparison + stats
   ========================================================== */
.compare { padding: 120px 0; background: var(--teal-dark); color: var(--white); }
.compare__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.compare-col {
  padding: 16px 16px 48px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 1px;
}
.compare-col__head {
  padding: 24px;
  margin-bottom: 51px;
  background: rgba(255, 255, 255, 0.03);
}
.compare-col__head h3 { margin-bottom: 18px; }
.compare-col__head p { max-width: 460px; opacity: 0.65; }
.compare-list { display: flex; flex-direction: column; gap: 22px; padding: 0 24px; }
.compare-list li { display: flex; align-items: center; gap: 12px; font-size: 18px; letter-spacing: -0.02em; }
.compare-list svg { width: 14px; height: 14px; flex: none; }
.compare-col--them .compare-list svg { opacity: 0.6; }
.compare-col--us .compare-list svg { color: var(--mint); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 64px; }
.stat {
  padding: 85px 24px;
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
}
.stat__num { font-size: 60px; line-height: 1.1; letter-spacing: -0.06em; }
.stat__label { margin-top: 10px; opacity: 0.65; }

/* ==========================================================
   Blog
   ========================================================== */
.blog { padding: 140px 0 90px; background: var(--paper); }
.blog__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 64px;
}
.blog__head .title-md { max-width: 400px; }
.blog__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post__media { aspect-ratio: 405 / 290; overflow: hidden; }
.post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.post:hover .post__media img { transform: scale(1.05); }
.post__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 4px 10px;
  font-size: 16px;
  opacity: 0.65;
}
.post__meta i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.post h3 { margin: 0 4px; max-width: 380px; }

/* ==========================================================
   FAQ
   ========================================================== */
.faq { padding: 100px 0 130px; background: var(--white); }
.faq__grid { display: grid; grid-template-columns: 1fr 649px; gap: 40px; }
.faq__intro { display: flex; flex-direction: column; justify-content: space-between; }
.faq__intro .title-lg { max-width: 420px; }
.faq__help img { width: 90px; height: 90px; border-radius: 50%; object-fit: cover; margin-bottom: 16px; }
.faq__help p { max-width: 170px; margin-bottom: 13px; }
.faq-item { padding: 22px 20px; transition: background-color 0.4s var(--ease); }
.faq-item.is-open { background: var(--paper); }
.faq-item__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  text-align: left;
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: -0.03em;
}
.faq-item__sign {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--teal);
  color: var(--white);
  transition: transform 0.4s var(--ease), background-color 0.4s var(--ease);
}
.faq-item__sign svg { width: 12px; height: 12px; }
.faq-item.is-open .faq-item__sign { transform: rotate(45deg); background: var(--teal-dark); }
.faq-item__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease);
}
.faq-item__a > div { overflow: hidden; }
.faq-item__a p { padding-top: 16px; max-width: 540px; font-size: 18px; line-height: 1.4; opacity: 0.65; }
.faq-item.is-open .faq-item__a { grid-template-rows: 1fr; }

/* ==========================================================
   Footer + CTA
   ========================================================== */
.site-footer { padding: 80px 0 12px; background: var(--teal-dark); color: var(--white); }
.cta-card {
  position: relative;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  padding: 48px 40px 48px;
  overflow: hidden;
}
.cta-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cta-card::after { content: ""; position: absolute; inset: 0; background: rgba(1, 43, 48, 0.62); }
.cta-card > *:not(img) { position: relative; z-index: 1; }
.cta-card p.text-sm { max-width: 468px; margin: 22px auto 40px; opacity: 0.8; }
.cta-card__actions { display: flex; align-items: center; gap: 24px; }
.rating { text-align: left; }
.rating__score { display: flex; align-items: center; gap: 8px; font-size: 16px; }
.rating__score .stars { margin: 0; color: var(--white); }
.rating small { font-size: 14px; opacity: 0.75; }

.footer-main {
  display: grid;
  grid-template-columns: 1fr 246px 247px 255px;
  gap: 0;
  padding: 76px 0 60px;
}
.footer-main > div:first-child p { max-width: 340px; }
.subscribe {
  display: flex;
  width: 330px;
  height: 40px;
  margin: 26px 0 14px;
  background: rgba(255, 255, 255, 0.04);
}
.subscribe input {
  flex: 1;
  padding: 0 14px;
  background: none;
  border: 0;
  outline: 0;
  color: var(--white);
  font-size: 15px;
}
.subscribe input::placeholder { color: rgba(255, 255, 255, 0.45); }
.subscribe button { width: 40px; display: grid; place-items: center; color: var(--white); background: rgba(255, 255, 255, 0.06); }
.subscribe button svg { width: 14px; height: 14px; }
.footer-note { font-size: 14px; opacity: 0.5; }
.footer-col h4 { font-size: 12px; letter-spacing: 0.06em; opacity: 0.5; margin-bottom: 14px; }
.footer-col li + li { margin-top: 7px; }
.footer-col a { font-size: 15px; letter-spacing: -0.015em; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 16px;
}
.footer-bottom span { opacity: 0.65; }
.footer-bottom a { font-size: 15px; opacity: 0.8; }

/* ==========================================================
   Motion
   ========================================================== */
/* Block fade-up on scroll */
.reveal {
  opacity: 0;
  transform: translateY(var(--reveal-y, 15px));
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--delay, 0s);
}
.reveal--hero { --reveal-y: 30px; }
.reveal.is-in { opacity: 1; transform: none; }

/* Heading word-by-word reveal */
.split .word { display: inline-block; }
.split--anim .word {
  opacity: 0;
  filter: blur(10px);
  transform: translateY(0.35em);
  transition: opacity 0.8s var(--ease), filter 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: calc(var(--delay, 0s) + var(--i) * 0.045s);
}
.split--anim.is-in .word { opacity: 1; filter: blur(0); transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .split--anim .word { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
  .marquee__track, .eyebrow::before { animation: none; }
}

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1199px) {
  .nav { gap: 26px; }
  .about__top { grid-template-columns: 1fr; gap: 28px; }
  .approach__body { grid-template-columns: 220px 1fr; gap: 40px; }
  .faq__grid { grid-template-columns: 1fr 1fr; }
  .footer-main { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; }
  .values__stage .value-card { width: calc((100% - 300px - 32px) / 2); }
}

@media (max-width: 809px) {
  :root { --gutter: 20px; }
  .site-header .container { grid-template-columns: 1fr auto; }
  .nav, .header-cta { display: none; }
  .menu-toggle { display: grid; place-items: center; }
  .site-header.is-open .nav {
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: absolute;
    top: 63px;
    left: 0;
    right: 0;
    padding: 24px var(--gutter) 32px;
    background: var(--ink);
  }

  .hero { height: auto; min-height: 100svh; }
  .hero .container { padding-top: 110px; }
  .hero__bottom { flex-direction: column; align-items: stretch; margin-top: 60px; }
  .hero__intro, .hero__video { width: 100%; }
  .hero__video { height: auto; aspect-ratio: 7 / 4; }
  .hero__intro p { font-size: 19px; }

  .about, .services, .cases, .approach, .compare, .faq { padding: 80px 0; }
  .blog { padding: 80px 0; }
  .about__statement { text-indent: 32px; }
  .about__actions { flex-wrap: wrap; gap: 20px; margin-top: 36px; }
  .pillars, .case-grid, .blog__grid, .compare__grid, .faq__grid { grid-template-columns: 1fr; }
  .pillar { min-height: 300px; }

  .service-card { width: 300px; height: 380px; }
  .services__foot { flex-direction: column; align-items: flex-start; gap: 18px; margin-top: 24px; }

  .values__track { height: auto; margin-top: 48px; }
  .values__stage { position: static; height: auto; display: grid; gap: 12px; }
  .values__image { position: relative; left: auto; top: auto; transform: none; opacity: 1; width: 100%; height: 360px; order: -1; }
  .value-card { position: relative; width: 100% !important; transform: none !important; top: auto !important; height: auto; min-height: 230px; gap: 40px; }

  .approach__head { flex-direction: column; align-items: flex-start; }
  .approach__body { grid-template-columns: 1fr; margin-top: 40px; }
  .steps { display: none; }
  .step-item__media { height: 260px; }

  .why__pin { position: relative; height: auto; padding: 80px var(--gutter) 40px; }
  .why__cards { margin-top: 0; padding: 0 var(--gutter) 80px; gap: 16px; }
  .why-card { width: 100%; min-height: 280px; margin: 0 !important; }

  .stats { grid-template-columns: 1fr 1fr; }
  .stat__num { font-size: 44px; }
  .blog__head { flex-direction: column; align-items: flex-start; gap: 24px; }
  .faq__intro { gap: 40px; }
  .faq-item { padding: 20px 16px; }
  .faq-item__q { font-size: 18px; }

  .cta-card__actions { flex-direction: column; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 40px 24px; padding-top: 56px; }
  .footer-main > div:first-child { grid-column: 1 / -1; }
  .subscribe { width: 100%; }
  .footer-bottom { flex-direction: column; gap: 10px; align-items: flex-start; }
}

/* ==========================================================
   Inner pages
   ========================================================== */

/* Page hero */
.page-hero {
  position: relative;
  height: 502px;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}
.page-hero .hero__waves { top: 0; height: 100%; }
.page-hero .container {
  position: relative;
  z-index: 1;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 313px;
  gap: 40px;
  padding-top: 250px;
  padding-bottom: 60px;
}
.page-hero__text {
  align-self: end;
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

/* Shared pill tag on images */
.tag {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 1;
  padding: 5px 14px;
  border-radius: 19px;
  background: rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 14px;
}

/* Services page grid */
.service-list { padding: 120px 0; background: var(--paper); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 58px 22px;
}
.service-tile__media {
  position: relative;
  height: 390px;
  overflow: hidden;
}
.service-tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.service-tile__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 13, 14, 0) 55%, rgba(0, 13, 14, 0.75) 100%);
}
.service-tile:hover .service-tile__media img { transform: scale(1.05); }
.service-tile__icon {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 1;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  color: var(--white);
}
.service-tile__icon svg { width: 16px; height: 16px; }
.service-tile h3 { margin: 15px 4px 8px; }
.service-tile p { margin: 0 4px; opacity: 0.65; max-width: 394px; }

/* Case studies page grid */
.case-list { padding: 120px 0; background: var(--paper); }
.case-list__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px 20px;
}
.case-tile__media {
  position: relative;
  height: 400px;
  overflow: hidden;
}
.case-tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.case-tile:hover .case-tile__media img { transform: scale(1.05); }
.case-tile__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0 13px;
  font-size: 16px;
  letter-spacing: -0.015em;
}
.case-tile__meta i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: 0.6; }
.case-tile h3 { max-width: 550px; }

/* Team */
.team { padding: 120px 0; background: var(--paper); }
.team__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.member { padding: 24px; background: var(--white); }
.member__photo { height: 373px; overflow: hidden; background: #d9dddd; }
.member__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.member:hover .member__photo img { transform: scale(1.04); }
.member__info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-top: 24px;
}
.member__name { font-size: 22px; line-height: 1.3; letter-spacing: -0.04em; }
.member__role { font-size: 16px; opacity: 0.65; }
.member__social {
  flex: none;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: var(--paper-2);
  color: var(--teal);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.member__social:hover { background: var(--teal); color: var(--white); }
.member__social svg { width: 14px; height: 14px; }
.team__cta { display: flex; justify-content: center; margin-top: 37px; }

/* Approach on a light-grey background (About page) */
.approach--paper { background: var(--paper); }
.approach--paper .btn--light { background: var(--white); }

@media (max-width: 1199px) {
  .service-grid, .team__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 809px) {
  .page-hero { height: auto; min-height: 420px; }
  .page-hero .container { grid-template-columns: 1fr; gap: 20px; padding-top: 180px; padding-bottom: 48px; }
  .page-hero__text { max-width: 340px; }
  .service-list, .case-list, .team { padding: 80px 0; }
  .service-grid, .case-list__grid, .team__grid { grid-template-columns: 1fr; gap: 40px; }
  .team__grid { gap: 2px; }
  .service-tile__media { height: 320px; }
  .case-tile__media { height: 280px; }
  .member__photo { height: 340px; }
}

/* ==========================================================
   Detail pages (service, case study, blog) + contact
   ========================================================== */

/* Photo header used by case study + blog details */
.media-hero {
  position: relative;
  height: 706px;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background: var(--ink);
  overflow: hidden;
}
.media-hero--short { height: 576px; }
.media-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 13, 14, 0.35) 0%, rgba(0, 13, 14, 0.1) 35%, rgba(0, 13, 14, 0.82) 100%);
}
.media-hero .container {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  padding-bottom: 60px;
}
.media-hero h1 { max-width: 1000px; }
.media-hero--short h1 { max-width: 650px; }
.media-hero__summary { width: 313px; flex: none; font-size: 18px; line-height: 1.35; letter-spacing: -0.02em; }
.meta-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 17px;
  letter-spacing: -0.02em;
}
.meta-line i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; }

/* Long-form article typography */
.prose { font-size: 18px; line-height: 1.35; letter-spacing: -0.02em; }
.prose > * + * { margin-top: 20px; }
.prose h2 { font-size: 30px; line-height: 1.4; letter-spacing: -0.04em; margin-top: 40px; color: var(--ink-deep); }
.prose h3 { font-size: 35px; line-height: 1.1; letter-spacing: -0.05em; margin-top: 60px; color: var(--ink-deep); }
.prose h2 + *, .prose h3 + * { margin-top: 20px; }
.prose ul { list-style: disc; padding-left: 22px; }
.prose p + ul { margin-top: 0; }
.prose figure { margin: 60px 0; }
.prose figure img { width: 100%; height: 100%; object-fit: cover; }
.prose .lead { font-size: 20px; line-height: 1.35; }

/* Service details */
.detail { padding: 110px 0 120px; background: var(--paper); }
.detail__grid {
  display: grid;
  grid-template-columns: 640px 520px;
  justify-content: space-between;
  align-items: start;
}
.detail__image { height: 491px; overflow: hidden; margin-bottom: 60px; }
.detail__image img { width: 100%; height: 100%; object-fit: cover; }
.detail .prose h2:first-of-type { margin-top: 0; }
.detail__aside { position: sticky; top: 75px; }

/* Forms */
.form-card { padding: 36px; background: var(--white); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 16px; letter-spacing: -0.015em; }
.field input,
.field select,
.field textarea {
  width: 100%;
  height: 43px;
  padding: 0 12px;
  border: 0;
  border-radius: 1px;
  background: var(--paper);
  color: var(--ink-deep);
  font: inherit;
  font-size: 16px;
  outline: none;
  transition: box-shadow 0.3s var(--ease);
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='%23001517' stroke-width='1.4'%3E%3Cpath d='M3 4.5l3 3 3-3'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}
.field textarea { height: 140px; padding: 12px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(0, 13, 14, 0.4); }
.field input:focus, .field select:focus, .field textarea:focus { box-shadow: inset 0 0 0 1px var(--teal); }
.btn--dark {
  justify-content: center;
  height: 47px;
  padding: 12px 28px;
  background: #004951;
  color: var(--white);
  font-size: 16px;
}
.btn--dark:hover { background: var(--teal-dark); }
.btn--block { width: 100%; }
.form-card .btn--block { margin-top: 16px; }
.form-note { margin-top: 12px; font-size: 14px; opacity: 0.65; }

/* "Explore more" band at the bottom of detail pages */
.more { padding: 100px 0 140px; background: var(--white); }
.more__head { max-width: 600px; margin-bottom: 66px; }
.more .service-grid { row-gap: 0; }
.more .case-list__grid { row-gap: 0; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-grid .post__media { aspect-ratio: auto; height: 330px; }

/* Case study details */
.case-detail { padding: 110px 0 120px; background: var(--paper); }
.article { max-width: 670px; margin: 0 auto; }
.article--narrow { max-width: 650px; }
.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-bottom: 50px;
  margin-bottom: 60px;
  border-bottom: 1px solid rgba(0, 13, 14, 0.1);
}
.facts dt { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.6; margin-bottom: 8px; }
.facts dd { font-size: 16px; }
.case-detail .prose figure { height: 412px; margin: 75px 0 45px; overflow: hidden; }
.results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
  padding-bottom: 66px;
  border-bottom: 1px solid rgba(0, 13, 14, 0.1);
}
.results strong { display: block; font-weight: 400; font-size: 35px; line-height: 1.1; letter-spacing: -0.05em; }
.results span { font-size: 16px; opacity: 0.65; }
.quote { margin-top: 66px; }
.quote blockquote { font-size: 22px; line-height: 1.35; letter-spacing: -0.03em; color: var(--ink-deep); }
.quote figcaption { margin-top: 48px; font-size: 16px; }
.quote figcaption strong { font-weight: 500; }
.quote figcaption span { opacity: 0.65; }

/* Blog details */
.blog-detail { padding: 110px 0 120px; background: var(--paper); }
.blog-detail .lead-block {
  padding-top: 50px;
  border-top: 1px solid rgba(0, 13, 14, 0.1);
  font-size: 25px;
  line-height: 1.2;
  letter-spacing: -0.035em;
  color: var(--ink-deep);
}
.blog-detail .prose figure { height: 400px; overflow: hidden; }

/* Contact */
.contact { padding: 128px 0 130px; background: var(--paper); }
.contact__grid { display: grid; grid-template-columns: 400px 730px; justify-content: space-between; }
.contact__intro { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.contact__intro .title-md { max-width: 300px; margin-bottom: 18px; }
.contact__intro p.text-md { opacity: 0.8; }
.contact__image { width: 320px; height: 240px; overflow: hidden; }
.contact__image img { width: 100%; height: 100%; object-fit: cover; }
.contact .form-card { padding: 32px; }
.contact .form-grid { gap: 24px 20px; }
.contact .field input { height: 48px; padding: 0 16px; }
.contact .field textarea { height: 180px; padding: 14px 16px; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.contact-card { padding: 30px; background: var(--white); }
.contact-card h3 { font-size: 22px; line-height: 1.35; letter-spacing: -0.03em; margin-bottom: 10px; }
.contact-card p { font-size: 16px; opacity: 0.65; margin-bottom: 20px; max-width: 297px; }
.contact-card .btn--dark { height: 43px; padding: 10px 32px; }

@media (max-width: 1199px) {
  .detail__grid { grid-template-columns: 1fr 420px; gap: 40px; }
  .contact__grid { grid-template-columns: 1fr 1.6fr; gap: 40px; }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 809px) {
  .media-hero, .media-hero--short { height: auto; min-height: 520px; }
  .media-hero .container { flex-direction: column; align-items: flex-start; padding-top: 140px; padding-bottom: 40px; gap: 20px; }
  .media-hero__summary { width: auto; max-width: 420px; }
  .detail, .case-detail, .blog-detail { padding: 72px 0 80px; }
  .detail__grid, .contact__grid { grid-template-columns: 1fr; gap: 48px; }
  .detail__aside { position: static; }
  .detail__image { height: 300px; }
  .form-card { padding: 24px; }
  .form-grid, .contact .form-grid { grid-template-columns: 1fr; }
  .facts, .results { grid-template-columns: 1fr; gap: 20px; }
  .case-detail .prose figure, .blog-detail .prose figure { height: 260px; }
  .post-grid, .contact-cards { grid-template-columns: 1fr; }
  .more { padding: 72px 0 90px; }
  .contact { padding: 80px 0; }
  .contact__image { width: 100%; }
}
