/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Responsive breakpoints:
 * - Desktop: 1440px and above (default; no media query)
 * - Tablet:  391px – 1439px (max-width: 1439px)
 * - Mobile:  430px and below (max-width: 430px)
 */

/* Prevent horizontal scroll on all viewports; content fits within viewport width */
html {
  overflow-x: hidden;
}

/* ========== Responsive breakpoint variables ========== */
:root {
  --breakpoint-mobile-max: 430px;
  --breakpoint-tablet-max: 1439px;
  --breakpoint-desktop-min: 1440px;
  --breakpoint-tablet: 1200px; /* nominal tablet width for reference */

  /* Repeated colors */
  --color-grey-900: #111827;
  --color-grey-100: #F3F4F6;
  --color-grey-200: #E5E7EB;
  --color-grey-300: #D1D5DB;
  --color-grey-400: #9CA3AF;
  --color-grey-500: #6B7280;
  --color-grey-600: #4B5563;
  --color-grey-700: #374151;
  --color-grey-800: #1F2937;
  --color-white: #FFFFFF;
  --color-white-000: #FFFFFF; /* grey/white-000 */
  --color-primary: #265AF5;
  --color-primary-hover: #2563EB;
  --color-primary-muted: #335bf5;
  --color-text-muted: #687287;
}

/* Eric Meyer's CSS Reset
   License: none (public domain)
   http://meyerweb.com/eric/tools/css/reset/ */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
  font-family: 'Crimson Pro', serif;
  font-weight: 500;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Header */
.main-header {
  position: fixed;
  top: 0;
  left: 24px;
  right: 24px;
  width: auto;
  z-index: 1000;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.main-header--hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0;
  background-color: transparent;
  height: 44px;
}

.nav-logo-container {
  display: flex;
  align-items: center;
}

.header-logo {
  display: block;
  margin-left: 0;
  position: relative;
}

.header-logo img {
  height: 44px;
  display: block;
  transition: opacity 0.3s ease;
}

.header-logo__img--scrolled {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
}

.main-header--scrolled .header-logo__img--default {
  opacity: 0;
}

.main-header--scrolled .header-logo__img--scrolled {
  opacity: 1;
}

.nav-links-container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 23px;
}

.nav-link {
  color: white;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 16px;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
}

.nav-link:hover {
  opacity: 0.8;
}

.nav-button {
  width: 124px;
  height: 40px;
  padding: 8px 18px;
  background-color: var(--color-white);
  color: var(--color-grey-700);
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border-radius: 20px;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin-right: 00px;
}

.nav-button:hover {
  background-color: var(--color-grey-800);
  color: var(--color-grey-100);
}

.main-nav-wrapper {
  width: 100%;
  max-width: 1432px;
  height: 80px;
  margin: 0 auto;
  padding: 18px 20px 18px 20px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hamburger: 40×40, grey/white-000 fill, pill radius; top right, aligned with logo */
.header-hamburger {
  display: none;
  position: relative;
  z-index: 2;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  font: inherit;
  color: inherit;
  background-color: var(--color-white); /* grey/white-000 */
  border-radius: 1000px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  pointer-events: auto;
  transition: background-color 0.15s ease;
}

.header-hamburger:hover,
.header-hamburger:active,
.header-hamburger.is-hovered {
  background-color: var(--color-grey-800); /* grey/grey-900 */
}

.header-hamburger:hover .header-hamburger__icon--default,
.header-hamburger:active .header-hamburger__icon--default,
.header-hamburger.is-hovered .header-hamburger__icon--default {
  opacity: 0;
}

.header-hamburger:hover .header-hamburger__icon--hover,
.header-hamburger:active .header-hamburger__icon--hover,
.header-hamburger.is-hovered .header-hamburger__icon--hover {
  opacity: 1;
}

.header-hamburger__icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  display: block;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

.header-hamburger__icon--hover {
  opacity: 0;
}

/* Header scrolled state (after 80% of hero main) */
.main-header--scrolled .main-nav-wrapper {
  border-radius: 1000px;
  opacity: 1;
  background: rgba(245, 247, 248, 0.75); /* glass F5F7F8 */
  box-shadow: inset 0 0 0 1px var(--color-grey-100); /* grey/grey-100, inside, weight 1 */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.main-header--scrolled .nav-link {
  color: var(--color-grey-900); /* grey-900 */
}

.main-header--scrolled .nav-link:hover {
  color: var(--color-primary); /* primary blue/blue-500 */
  opacity: 1;
}

.main-header--scrolled .nav-button {
  background-color: var(--color-grey-800); /* grey-900 */
  color: var(--color-white); /* grey/white-000 */
}

.main-header--scrolled .nav-button:hover {
  background-color: var(--color-primary-muted);
}

.main-header--scrolled .header-hamburger:hover,
.main-header--scrolled .header-hamburger:active,
.main-header--scrolled .header-hamburger.is-hovered {
  background-color: var(--color-grey-800); /* grey/grey-900 - dark fill on hover */
}

/* Mobile menu overlay: full-screen white panel, shown when hamburger is opened on mobile */
/* Top bar matches .main-header (left/right 24px, padding-top 20px) + .main-nav-wrapper (80px height, 0 padding on mobile) */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: var(--color-white);
  z-index: 1001;
  box-sizing: border-box;
  flex-direction: column;
  min-height: 100vh;
}

.mobile-menu-overlay__top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  margin: 20px 24px 0 24px;
  padding: 0;
  box-sizing: border-box;
}

.mobile-menu-overlay__logo {
  display: block;
}

.mobile-menu-overlay__logo-img {
  height: 44px;
  display: block;
}

.mobile-menu-overlay__close {
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-overlay__close img {
  width: 24px;
  height: 24px;
  display: block;
}

.mobile-menu-overlay__nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  padding: 24px 24px 0;
  gap: 0;
}

.mobile-menu-overlay__link {
  display: block;
  width: 100%;
  text-align: left;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 16px;
  color: var(--color-grey-900);
  text-decoration: none;
  padding: 20px 0;
  transition: color 0.2s ease;
}

.mobile-menu-overlay__link:hover {
  color: var(--color-primary);
}

.mobile-menu-overlay__cta {
  padding: 24px;
  flex-shrink: 0;
}

.mobile-menu-overlay__button {
  display: block;
  width: 100%;
  padding: 14px 24px;
  background-color: #000000;
  color: var(--color-white);
  border: none;
  border-radius: 20px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 16px;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.mobile-menu-overlay__button:hover {
  background-color: var(--color-grey-800);
  color: var(--color-white);
}

/* Hero Main */
.hero-main {
  height: 860px;
  background: linear-gradient(to bottom, #0C2283 0%, var(--color-primary) 56%, #E9F1FF 100%);
  padding-top: 100px;
}

/* What we do hero: grey-200 to white gradient, text grey/grey-900 */
.hero-main--what-we-do {
  background: linear-gradient(to bottom, var(--color-grey-200) 0%, var(--color-white) 100%);
  color: var(--color-grey-900); /* grey/grey-900 */
}

/* About us hero: same style as what-we-do */
.hero-main--about-us {
  background: linear-gradient(to bottom, var(--color-grey-200) 0%, var(--color-white) 100%);
  color: var(--color-grey-900);
}

.hero-main--about-us h1,
.hero-main--about-us p {
  color: var(--color-grey-900) !important;
}

.hero-main--our-projects {
  height: auto;
  background: linear-gradient(to bottom, var(--color-grey-200) 0%, var(--color-white) 100%);
  color: var(--color-grey-900);
}

.hero-main--our-projects h1,
.hero-main--our-projects p {
  color: var(--color-grey-900) !important;
}

/* Contact hero: same gradient/badge/title as blog; no search — bottom breathing room */
.hero-main--contact {
  padding-bottom: 80px;
  box-sizing: border-box;
}

.hero-main--contact.hero-main--contact-thank-you {
  padding-bottom: 20px;
}

@media (min-width: 431px) {
  .hero-main.hero-main--contact h1 {
    font-size: 48px;
    min-height: 0;
    line-height: 1.15;
  }
}

.hero-our-projects__search-wrap {
  display: flex;
  justify-content: center;
  margin-top: 100px;
}

.hero-our-projects__search {
  width: 100%;
  height: 52px;
  box-sizing: border-box;
  padding: 6px;
  border: none;
  border-radius: 1000px;
  background-color: var(--color-white);
  box-shadow: inset 0 0 0 1px var(--color-grey-200);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 145%;
  text-align: left;
  color: var(--color-grey-900);
}

.hero-our-projects__search::placeholder {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 145%;
  text-align: left;
  color: var(--color-grey-400);
}

.hero-our-projects__search:hover {
  box-shadow: inset 0 0 0 1px var(--color-primary);
}

.hero-our-projects__search:focus,
.hero-our-projects__search:active {
  outline: none;
  box-shadow: inset 0 0 0 1px var(--color-primary);
}

.hero-our-projects__search-form {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

.hero-our-projects__search-inner {
  position: relative;
  display: block;
}

.hero-our-projects__search-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  padding: 8px 18px;
  border: none;
  border-radius: 1000px;
  background-color: var(--color-grey-100);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: var(--color-grey-700);
  cursor: pointer;
}

.hero-our-projects__search-btn:hover {
  background-color: var(--color-grey-800);
  color: var(--color-white);
}

.hero-our-projects__search-inner:has(.hero-our-projects__search-btn:hover) .hero-our-projects__search {
  box-shadow: inset 0 0 0 1px var(--color-primary);
}

.hero-our-projects__search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  color: var(--color-grey-400);
}

.hero-our-projects__search-icon img {
  width: 20px;
  height: 20px;
  display: block;
}

.hero-our-projects__search {
  padding-left: 48px;
  padding-right: 100px;
}

/* Hide native search clear (X) button on Our Projects and Blog hero search */
.hero-our-projects__search::-webkit-search-cancel-button {
  display: none;
}

/* Our projects list (YAML-backed) */
.our-projects__section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px 160px;
  box-sizing: border-box;
}

.our-projects__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}

/* Our projects index (YAML): new project cards, 442px columns */
.our-projects__section:not(.our-projects__section--posts) {
  max-width: 1440px;
}

.our-projects__section:not(.our-projects__section--posts) .our-projects__list {
  grid-template-columns: repeat(auto-fill, 442px);
  justify-content: center;
}

.our-projects__section:not(.our-projects__section--posts) .our-projects__list > li {
  display: flex;
  justify-content: center;
  align-items: stretch;
  min-width: 0;
}

.our-projects__section:not(.our-projects__section--posts) .our-projects__list > li .projects-section__card {
  flex: 1 1 auto;
  width: 100%;
  max-width: 442px;
  min-width: 0;
}

/* Blog / posts list only: legacy grey card shell */
.our-projects__section--posts .our-projects__card {
  background-color: var(--color-grey-100);
  border-radius: 24px;
  overflow: hidden;
  box-sizing: border-box;
}

.our-projects__section--posts .our-projects__card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.our-projects__section--posts .our-projects__card-image-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--color-grey-200);
}

.our-projects__section--posts .our-projects__card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.our-projects__section--posts .our-projects__card-body {
  padding: 24px;
}

.our-projects__section--posts .our-projects__card-title {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 135%;
  color: var(--color-grey-900);
  margin: 0 0 12px 0;
}

.our-projects__section--posts .our-projects__card-description {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 165%;
  color: var(--color-grey-500);
  margin: 0;
}

.our-projects__empty {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 16px;
  color: var(--color-grey-500);
  text-align: center;
  margin: 0;
  padding: 48px 20px;
}

/* Blog list: 4 cards across, 32px gap, center when fewer than 4 (desktop) */
.our-projects__section--posts {
  max-width: 1440px;
}

.our-projects__list--posts {
  grid-template-columns: repeat(auto-fill, 324px);
  gap: 32px;
  justify-content: center;
}

/* Blog card dimensions (post cards only): desktop */
.our-projects__card--post {
  width: 324px;
  max-width: 100%;
}

.our-projects__card--post .our-projects__card-image-wrap {
  aspect-ratio: auto;
  height: 432px;
}

/* Blog card: fixed body height so card height is consistent (title 2 lines + description 3 lines max) */
.our-projects__card--post .our-projects__card-body {
  min-height: 184px;
  display: flex;
  flex-direction: column;
}

.our-projects__card--post .our-projects__card-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  line-clamp: 2;
}

.our-projects__card--post .our-projects__card-description {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  line-clamp: 3;
  flex: 1;
  min-height: 0;
}

/* Blog post show page */
.post-show {
  width: 880px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-top: 80px;
}

.post-show__title {
  font-family: 'Crimson Pro', serif;
  font-weight: 500;
  font-size: 36px;
  line-height: 1.2;
  color: var(--color-grey-900);
  margin: 0 0 24px 0;
}

.post-show__image-wrap {
  width: 880px;
  max-width: 100%;
  height: 495px;
  overflow: hidden;
  border-radius: 24px;
  margin-bottom: 32px;
  background-color: var(--color-grey-200);
}

.post-show__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.post-show__body {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 165%;
  color: var(--color-grey-900);
}

.post-show__body h2 {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 22px;
  margin: 32px 0 12px 0;
  color: var(--color-grey-900);
}

.post-show__body p {
  margin: 0 0 16px 0;
}

.post-show__body ul {
  margin: 0 0 16px 0;
  padding-left: 24px;
}

.post-show__body li {
  margin-bottom: 8px;
}

.hero-badge {
  width: fit-content;
  height: 32px;
  padding: 6px 14px;
  background-color: var(--color-grey-100);
  margin: 60px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 14px;
  color: var(--color-grey-900);
  border-radius: 20px;
  border: 1px solid var(--color-grey-200);
}

@media (min-width: 431px) {
  .hero-badge {
    margin-top: 0;
  }
}

/* Move faster hero only: grey-300 fill, grey-200 inset stroke */
.hero-badge--hero {
  background-color: var(--color-grey-300); /* grey/grey-300 */
  border: none;
  box-shadow: inset 0 0 0 1px var(--color-grey-200); /* grey/grey-200, inside, weight 1 */
}

.hero-main .hero-badge {
  margin-top: 80px;
}

.hero-pulse {
  width: 8px;
  height: 8px;
  background-color: #3b82f6;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
}

.hero-main h1 {
  font-family: 'Crimson Pro', serif;
  font-weight: 500;
  color: white;
  font-size: 88px;
  max-width: 860px;
  width: 100%;
  height: auto;
  min-height: 176px;
  margin: 20px auto 0;
  padding: 0 20px;
  text-align: center;
  box-sizing: border-box;
}

/* Line break in hero title: hidden on desktop, visible on mobile */
.hero-main__title-br {
  display: none;
}

.hero-main p {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-style: normal;
  font-size: 18px;
  max-width: 860px;
  width: 100%;
  height: auto;
  min-height: 52px;
  margin: 20px auto 0;
  padding: 0 20px;
  color: var(--color-white);
  text-align: center;
  line-height: 145%;
  letter-spacing: 0.2px;
  box-sizing: border-box;
}

/* What we do hero: override white text so h1 and p are grey/grey-900 (must come after .hero-main h1/p) */
.hero-main--what-we-do h1,
.hero-main--what-we-do p {
  color: var(--color-grey-900) !important; /* grey/grey-900 */
}

.hero-main__buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
  position: relative;
  z-index: 1;
}

.hero-main__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 16px 32px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 32px;
  text-decoration: none;
  border-radius: 1000px;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.hero-main__btn--white {
  background-color: var(--color-white);
  color: var(--color-grey-700);
}

.hero-main__btn--white:hover {
  background-color: var(--color-grey-800); /* same as Get Started .nav-button:hover */
  color: var(--color-grey-100);
}

.hero-main__btn--blue {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.hero-main__btn--blue:hover {
  background-color: var(--color-grey-800); /* same as Build with us hover */
  color: var(--color-grey-100);
}

.hero-arrow {
  display: block;
  margin: -340px auto 0;
  max-width: 1478px;
  width: 100%;
  height: auto;
  box-sizing: border-box;
  padding: 0 20px;
  object-fit: contain;
  position: relative;
  z-index: 0;
  pointer-events: none; /* let touches pass through so hero scrolls on mobile */
}

.hero-glass-bar {
  height: 64px;
  background-color: #F9FAFB;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 16px;
  color: var(--color-grey-900); /* grey/grey-900 */
  padding: 0 20px;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-glass-bar-separator {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.hero-glass-bar__item--primary {
  font-weight: 400;
  color: var(--color-primary); /* primary blue/blue-500 */
}

.quote-section {
  background-color: var(--color-grey-100);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 240px;
  padding-bottom: 240px;
}

.quote-section--grey {
  background-color: var(--color-grey-100);
}

.quote-section__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.quote-section__text {
  font-family: 'Crimson Pro', serif;
  font-weight: 300;
  color: var(--color-grey-900);
  font-size: 40px;
  line-height: 135%;
  text-align: center;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0;
}

.quote-section__pill {
  display: block;
  margin: 0 auto;
}

.quote-section__pill--pills-eye {
  width: 112px;
  height: 52px;
}

.services-section {
  height: auto;
  background-color: var(--color-white);
  padding-top: 160px;
  padding-bottom: 160px;
}

/* Section headers (shared base for center-aligned h2) */
.services-section__header,
.process-section__header,
.faq-section__header,
.testimonial-section__header,
.how-we-do-it__header {
  font-family: 'Crimson Pro', serif;
  font-weight: 400;
  font-size: 48px;
  line-height: 110%;
  text-align: center;
  color: var(--color-grey-900);
  margin: 40px auto 0;
  max-width: 720px;
  padding: 0 20px;
}

.faq-section__header {
  padding-left: 24px;
  padding-right: 24px;
}

.services-section__cards {
  display: grid;
  grid-template-columns: repeat(3, 320px);
  gap: 32px;
  justify-content: center;
  margin: 80px auto 0;
  max-width: 1080px;
  padding: 0 20px;
}

.service-card {
  width: 320px;
  height: 440px;
  background-color: var(--color-grey-100);
  border-radius: 24px 24px 24px 0; /* Square bottom-left corner */
  padding: 32px;
  position: relative;
  box-sizing: border-box;
  overflow: hidden;
  transition: background-color 0.3s ease;
}

.service-card__exclude {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 80px;
  height: 80px;
  z-index: 10;
  pointer-events: none;
  object-fit: contain;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent;
  display: block;
}

.service-card__header {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 20px;
  color: var(--color-grey-900);
  line-height: 135%;
  text-align: left;
  margin: 0 0 16px 0;
  transition: color 0.3s ease;
}

.service-card__text {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 165%;
  color: var(--color-text-muted);
  margin: 0;
  transition: color 0.3s ease;
}

.service-card__logo {
  position: absolute;
  bottom: 24px;
  right: 24px;
  width: 80px;
  height: 80px;
}

/* Service cards: swap thin → light icon on hover */
.service-card__logo-wrap {
  position: absolute;
  bottom: 24px;
  right: 24px;
  width: 80px;
  height: 80px;
}

.service-card__logo-wrap .service-card__logo {
  bottom: 0;
  right: 0;
  transition: opacity 0.3s ease;
}

.service-card__logo-wrap .service-card__logo--hover {
  opacity: 0;
}

.service-card:hover .service-card__logo-wrap .service-card__logo--default {
  opacity: 0;
}

.service-card:hover .service-card__logo-wrap .service-card__logo--hover {
  opacity: 1;
}

/* Services section: tablet = 264px cards; break to 2 cols then 1 col when too wide for viewport */
@media (max-width: 1439px) {
  .services-section__cards {
    grid-template-columns: repeat(3, 264px);
    max-width: 100%;
  }

  .service-card {
    width: 264px;
    max-width: 264px;
  }
}

/* 3×264px + gaps + padding ≈ 896px → break to 2 cols; flexbox centers single card on last row */
@media (max-width: 895px) {
  .services-section__cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    grid-template-columns: unset;
    gap: 32px;
  }

  .service-card {
    width: 264px;
    max-width: 264px;
  }
}

/* 2×264px + gap + padding ≈ 632px → break to 1 col; flexbox keeps single card per row centered */
@media (max-width: 631px) {
  .services-section__cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    grid-template-columns: unset;
    gap: 24px;
  }

  .service-card {
    width: 100%;
    max-width: 100%;
  }

  .services-section__header {
    font-size: 32px;
  }
}

/* How We Do It (What We Do page) */
.how-we-do-it {
  margin-top: 160px;
  margin-bottom: 160px;
}

.how-we-do-it .hero-badge {
  margin-left: auto;
  margin-right: auto;
  margin-top: 0;
}

/* Progress list: vertical stepper with nodes and dividers */
.how-we-do-it__progress {
  list-style: none;
  margin: 80px auto 0;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.how-we-do-it__step {
  display: flex;
  align-items: stretch;
  gap: 0;
  line-height: 1.2;
}

.how-we-do-it__step + .how-we-do-it__step {
  margin-top: 0;
}

/* Node above divider in a column; track stretches to step height so divider can fill to next node */
.how-we-do-it__track {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  min-height: 0;
}

.how-we-do-it__step:first-child .how-we-do-it__track > :first-child {
  margin-top: 104px;
}

.how-we-do-it__node {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  margin-top: 104px;
  border-radius: 50%;
  background-color: var(--color-grey-300);
  transition: background-color 500ms ease;
}

/* Only the active (clicked) step’s node is blue */
.how-we-do-it__step--active .how-we-do-it__node {
  background-color: var(--color-primary);
}

.how-we-do-it__divider {
  flex: 1 1 0;
  min-height: 0;
  width: 4px;
  margin-left: 0;
  margin-top: 0;
  margin-bottom: -104px;
  background-color: var(--color-grey-100);
  transition: background 60ms ease-out;
}

.how-we-do-it__divider--last {
  flex: 0 0 0;
  min-height: 0;
  height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.how-we-do-it__label-wrap {
  margin-left: 25px;
}

.how-we-do-it__label-wrap-top {
  position: relative;
  z-index: 0;
  display: flex;
  align-items: flex-start;
}

.how-we-do-it__number {
  font-family: 'Crimson Pro', serif;
  font-weight: 500;
  font-size: 200px;
  letter-spacing: 0%;
  text-align: left;
  color: var(--color-grey-200);
}

.how-we-do-it__label-wrap-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  background-color: #F3F4F6;
  opacity: 1;
  margin-top: -100px;
  width: 824px;
  height: 330px;
  border-bottom-left-radius: 24px;
  overflow: hidden;
}

.how-we-do-it__exclude-right {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 80px;
  height: 80px;
  z-index: 10;
  pointer-events: none;
  object-fit: contain;
}

.how-we-do-it__card-image {
  width: 200px;
  height: 266px;
  flex-shrink: 0;
  padding: 32px 0 32px 32px;
}

.how-we-do-it__card-body {
  flex: 1;
  min-width: 0;
}

.how-we-do-it__card-header {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 135%;
  color: var(--color-grey-900);
  margin: 0;
  padding-top: 32px;
}

.how-we-do-it__card-text {
  margin-top: 16px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 165%;
  letter-spacing: 0;
  color: var(--color-grey-500);
  margin-bottom: 0;
  padding-right: 32px;
}

/* Our Core Values (About page) – same behaviour as How We Do It, no images */
.core-values {
  margin-top: 160px;
  margin-bottom: 160px;
}

.core-values .hero-badge {
  margin-left: auto;
  margin-right: auto;
  margin-top: 0;
}

.core-values__header {
  font-family: 'Crimson Pro', serif;
  font-weight: 500;
  font-size: 64px;
  line-height: 120%;
  text-align: center;
  margin: 0;
  padding: 0 24px;
  color: var(--color-grey-900);
}

.core-values__progress {
  list-style: none;
  margin: 80px auto 0;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.core-values__step {
  display: flex;
  align-items: stretch;
  gap: 0;
  line-height: 1.2;
}

.core-values__step + .core-values__step {
  margin-top: 0;
}

.core-values__track {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  min-height: 0;
}

.core-values__step:first-child .core-values__track > :first-child {
  margin-top: 104px;
}

.core-values__node {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  margin-top: 104px;
  border-radius: 50%;
  background-color: var(--color-grey-300);
  transition: background-color 500ms ease;
}

.core-values__step--active .core-values__node {
  background-color: var(--color-primary);
}

.core-values__divider {
  flex: 1 1 0;
  min-height: 0;
  width: 4px;
  margin-left: 0;
  margin-top: 0;
  margin-bottom: -104px;
  background-color: var(--color-grey-100);
  transition: background 60ms ease-out;
}

.core-values__divider--last {
  flex: 0 0 0;
  min-height: 0;
  height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.core-values__label-wrap {
  margin-left: 25px;
}

.core-values__label-wrap-top {
  position: relative;
  z-index: 0;
  display: flex;
  align-items: flex-start;
}

.core-values__letter {
  font-family: 'Crimson Pro', serif;
  font-weight: 500;
  font-size: 200px;
  letter-spacing: 0%;
  text-align: left;
  color: var(--color-primary);
}

.core-values__label-wrap-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  background-color: var(--color-grey-100);
  margin-top: -90px;
  width: 584px;
  min-height: 200px;
  border-bottom-left-radius: 24px;
  overflow: hidden;
  padding: 32px 32px 32px 32px;
  box-sizing: border-box;
}

.core-values__exclude-right {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 80px;
  height: 80px;
  z-index: 10;
  pointer-events: none;
  object-fit: contain;
}

.core-values__card-body {
  flex: 1;
  min-width: 0;
}

.core-values__card-header {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 135%;
  color: var(--color-grey-900);
  margin: 0;
  padding-top: 0;
}

.core-values__card-text {
  margin-top: 16px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 165%;
  letter-spacing: 0;
  color: var(--color-grey-500);
  margin-bottom: 0;
}

/* Process Section */
.process-section {
  height: auto;
  padding-top: 160px;
  padding-bottom: 160px;
}

.process-section__cards {
  display: grid;
  grid-template-columns: repeat(4, 320px);
  gap: 32px;
  justify-content: center;
  margin: 80px auto 0;
  max-width: 1408px;
  padding: 0 20px;
}

/* Process section: tablet = 264px cards; break to 2 cols then 1 col when too wide for viewport */
@media (max-width: 1439px) {
  .process-section__cards {
    grid-template-columns: repeat(4, 264px);
    max-width: 100%;
  }

  .process-card {
    width: 264px;
    max-width: 264px;
  }
}

/* 4×264px + gaps + padding ≈ 1192px → break to 2 cols; flexbox centers single card on last row */
@media (max-width: 1191px) {
  .process-section__cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    grid-template-columns: unset;
    gap: 32px;
  }

  .process-card {
    width: 264px;
    max-width: 264px;
  }
}

/* 2×264px + gap + padding ≈ 632px → break to 1 col; flexbox keeps single card per row centered */
@media (max-width: 631px) {
  .process-section__cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    grid-template-columns: unset;
    gap: 24px;
  }

  .process-card {
    width: 100%;
    max-width: 100%;
  }

  .process-section__header {
    font-size: 32px;
  }

  .process-section__view-details {
    margin-top: 60px;
    font-size: 22px;
  }
}

.process-section__view-details {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 140px;
  position: relative;
  z-index: 2;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 28px;
  line-height: 132%;
  letter-spacing: 0;
  color: var(--color-grey-500); /* grey-500 */
  text-decoration: none;
  transition: color 0.3s ease;
}

.process-section__view-details:hover {
  color: var(--color-primary); /* primary blue/blue-500 */
}

.process-section__view-details:active {
  color: var(--color-primary-hover); /* primary blue/blue-600 */
}

.process-section__view-details-arrow-wrap {
  position: relative;
  display: block;
  width: 28px;
  height: 28px;
}

.process-section__view-details-arrow {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  transition: opacity 0.3s ease;
}

.process-section__view-details-arrow--hover,
.process-section__view-details-arrow--active {
  opacity: 0;
}

.process-section__view-details:hover .process-section__view-details-arrow--default {
  opacity: 0;
}

.process-section__view-details:hover .process-section__view-details-arrow--hover {
  opacity: 1;
}

.process-section__view-details:hover .process-section__view-details-arrow--active {
  opacity: 0;
}

.process-section__view-details:active .process-section__view-details-arrow--default,
.process-section__view-details:active .process-section__view-details-arrow--hover {
  opacity: 0;
}

.process-section__view-details:active .process-section__view-details-arrow--active {
  opacity: 1;
}

.process-card {
  width: 320px;
  height: 432px;
}

.process-card__header {
  font-family: 'Crimson Pro', serif;
  font-weight: 500;
  font-size: 200px;
  line-height: 160%;
  letter-spacing: 0%;
  text-align: left;
  color: var(--color-grey-200);
  transition: color 0.3s ease;
}

.process-card__content {
  height: 300px;
  background-color: var(--color-grey-100);
  padding: 20px 20px 0 20px;
  margin-top: -130px;
  position: relative;
  z-index: 1;
  border-bottom-left-radius: 24px;
}

.process-card__image {
  width: 40px;
  height: 40px;
}

.process-card__exclude-right {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 80px;
  height: 80px;
  z-index: 10;
  pointer-events: none;
  object-fit: contain;
}

.process-card__content-header {
  margin-top: 60px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 135%;
  color: var(--color-grey-900); /* grey-900 */
}

.process-card__content-text {
  margin-top: 16px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 165%;
  letter-spacing: 0;
  color: var(--color-grey-500); /* grey-500 */
}

/* Projects Section */
.projects-section {
  padding: 160px 24px;
}

.projects-section__inner {
  max-width: 1392px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto auto;
}

.projects-section .hero-badge {
  margin-top: 0;
  margin-left: 0;
  margin-right: auto;
  grid-column: 1 / -1;
}

.projects-section__header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 40px;
  grid-column: 1;
}

.projects-section__header {
  font-family: 'Crimson Pro', serif;
  font-weight: 400;
  font-size: 48px;
  line-height: 110%;
  text-align: left;
  color: var(--color-grey-900);
  margin: 0;
  max-width: 720px;
  padding: 0;
}

.projects-section__view-all {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 28px;
  line-height: 132%;
  letter-spacing: 0;
  color: var(--color-grey-500); /* grey-500 */
  text-decoration: none;
  transition: color 0.3s ease;
  grid-row: 2;
  grid-column: 2;
  align-self: center;
  padding-top: 60px;
}

.projects-section__list {
  margin-top: 0;
  grid-column: 1 / -1;
}

.projects-section__view-all:hover {
  color: var(--color-primary); /* primary blue/blue-500 */
}

.projects-section__view-all:active {
  color: var(--color-primary-hover); /* primary blue/blue-600 */
}

.projects-section__view-all-arrow-wrap {
  position: relative;
  display: block;
  width: 28px;
  height: 28px;
}

.projects-section__view-all-arrow {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  transition: opacity 0.3s ease;
}

.projects-section__view-all-arrow--hover,
.projects-section__view-all-arrow--active {
  opacity: 0;
}

.projects-section__view-all:hover .projects-section__view-all-arrow--default {
  opacity: 0;
}

.projects-section__view-all:hover .projects-section__view-all-arrow--hover {
  opacity: 1;
}

.projects-section__view-all:hover .projects-section__view-all-arrow--active {
  opacity: 0;
}

.projects-section__view-all:active .projects-section__view-all-arrow--default,
.projects-section__view-all:active .projects-section__view-all-arrow--hover {
  opacity: 0;
}

.projects-section__view-all:active .projects-section__view-all-arrow--active {
  opacity: 1;
}

/* Below 808px: stack "View all projects" beneath "Results Shaped by Intent" */
@media (max-width: 807px) {
  .projects-section__header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .projects-section__view-all {
    margin-top: 4px;
  }
}

/* Highlighted works — horizontal cards (project show page only); wrap rows as viewport narrows */
.projects-section--cards .projects-section__cards-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  align-items: stretch;
  margin-top: 80px;
  grid-column: 1 / -1;
  grid-row: 3;
  max-width: 100%;
  overflow-x: visible;
  overflow-y: visible;
  padding-bottom: 0;
}

.projects-section__card {
  flex: 0 1 442px;
  min-width: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  align-self: stretch;
  width: 100%;
  max-width: 442px;
  box-sizing: border-box;
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-grey-200);
}

.projects-section__card:hover .projects-section__card-title {
  color: var(--color-primary-hover);
}

/* Top block: only the 442×249 image; rounded corners on media only (not the article) */
.projects-section__card-media {
  flex: 0 0 auto;
  width: 100%;
  min-width: 0;
  border-radius: 24px;
  overflow: hidden;
}

.projects-section__card-image-link {
  display: block;
  text-decoration: none;
  color: inherit;
  margin: 0;
  padding: 0;
  line-height: 0;
}

.projects-section__card-image-wrap {
  position: relative;
  width: 100%;
  max-width: 442px;
  aspect-ratio: 442 / 249;
  overflow: hidden;
  background-color: var(--color-grey-200);
}

.projects-section__card-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Title + description first (aligned across a row); fill grows below so card heights / bottom borders still match */
.projects-section__card-body-stack {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  width: 100%;
  margin-top: 40px;
  padding-bottom: 80px;
  background-color: var(--color-white);
}

.projects-section__card-body-stack-fill {
  flex: 1 1 auto;
  min-height: 0;
}

/* Title + description at top of body-stack */
.projects-section__card-text {
  flex: 0 0 auto;
  width: 100%;
  min-width: 0;
  background-color: var(--color-white);
}

.projects-section__card-body-link {
  display: block;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  text-decoration: none;
  color: inherit;
  line-height: normal;
  overflow-wrap: break-word;
  word-break: break-word;
}

.projects-section__card-title {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 28px;
  color: var(--color-grey-900);
  margin: 0 0 40px 0;
  padding: 0;
  transition: color 0.2s ease;
  overflow-wrap: break-word;
  word-break: break-word;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  line-clamp: 2;
}

.projects-section__card-description {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 165%;
  color: var(--color-grey-500);
  margin: 0;
  padding: 0;
  overflow-wrap: break-word;
  word-break: break-word;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
  overflow: hidden;
  line-clamp: 6;
}

@media (max-width: 807px) {
  .projects-section--cards .projects-section__cards-list {
    flex-direction: column;
    align-items: center;
    overflow-x: visible;
    padding-bottom: 0;
  }

  .projects-section--cards .projects-section__card {
    width: 100%;
    max-width: 100%;
  }
}

/* Blog Section - same design pattern as projects section */
.blog-section {
  padding: 160px 24px;
}

.blog-section__inner {
  max-width: 1392px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto auto;
}

.blog-section .hero-badge {
  margin-top: 0;
  margin-left: 0;
  margin-right: auto;
  grid-column: 1 / -1;
}

.blog-section__header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-top: 40px;
  grid-column: 1;
}

.blog-section__header {
  font-family: 'Crimson Pro', serif;
  font-weight: 400;
  font-size: 48px;
  line-height: 110%;
  text-align: left;
  color: var(--color-grey-900);
  margin: 0;
  max-width: 720px;
  padding: 0;
}

.blog-section__view-all {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 28px;
  line-height: 132%;
  letter-spacing: 0;
  color: var(--color-grey-500); /* grey-500 */
  text-decoration: none;
  transition: color 0.3s ease;
  grid-row: 2;
  grid-column: 2;
  align-self: end;
}

.blog-section__view-all:hover {
  color: var(--color-primary); /* primary blue/blue-500 */
}

.blog-section__view-all:active {
  color: var(--color-primary-hover); /* primary blue/blue-600 */
}

.blog-section__view-all-arrow-wrap {
  position: relative;
  display: block;
  width: 28px;
  height: 28px;
}

.blog-section__view-all-arrow {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  transition: opacity 0.3s ease;
}

.blog-section__view-all-arrow--hover,
.blog-section__view-all-arrow--active {
  opacity: 0;
}

.blog-section__view-all:hover .blog-section__view-all-arrow--default {
  opacity: 0;
}

.blog-section__view-all:hover .blog-section__view-all-arrow--hover {
  opacity: 1;
}

.blog-section__view-all:hover .blog-section__view-all-arrow--active {
  opacity: 0;
}

.blog-section__view-all:active .blog-section__view-all-arrow--default,
.blog-section__view-all:active .blog-section__view-all-arrow--hover {
  opacity: 0;
}

.blog-section__view-all:active .blog-section__view-all-arrow--active {
  opacity: 1;
}

/* Below 808px: stack "View all articles" beneath "Where We Share How We Think" */
@media (max-width: 807px) {
  .blog-section__header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .blog-section__view-all {
    margin-top: 4px;
  }
}

.blog-section__list {
  margin-top: 80px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  grid-column: 1 / -1;
}

.blog-card__link {
  display: block;
  width: 324px;
  text-decoration: none;
  color: inherit;
}

.blog-card {
  width: 324px;
  height: 608px;
  background-color: var(--color-grey-100); /* grey/grey-100 */
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 24px;
}

.blog-card__image {
  width: 100%;
  height: 432px;
  object-fit: cover;
  display: block;
}

.blog-card__title {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 135%;
  text-align: left;
  color: var(--color-grey-900); /* grey/grey-900 */
  margin: 0;
  padding: 32px 32px 0 32px;
  /* max-width: 260px; */
  transition: color 0.3s ease;
}

.blog-card:hover .blog-card__title {
  color: var(--color-primary-hover); /* primary blue/blue-600 */
}

.blog-card__description {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 165%;
  text-align: left;
  color: var(--color-grey-500); /* grey/grey-500 */
  margin: 0;
  padding: 38px 32px 24px 32px;
  flex: 1;
  /* max-width: 260px; */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

/* FAQ Section */
.faq-section {
  padding-top: 160px;
  padding-bottom: 160px;
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
}

.faq-section .hero-badge {
  margin-top: 0;
  margin-left: auto;
  margin-right: auto;
}

.faq-item--first,
.faq-item {
  display: flex;
  flex-direction: column;
  width: 1080px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  cursor: pointer;
}

.faq-item--first {
  margin-top: 80px;
}

.faq-item:not(.faq-item--first) {
  margin-top: 32px;
}

.faq-item:last-child {
  /* margin-bottom: 160px; */
}

.faq-item--first:hover .faq-item__question,
.faq-item:hover .faq-item__question {
  color: var(--color-primary-hover); /* primary blue/blue-600 */
}

.faq-item--first:hover .faq-item__icon,
.faq-item:hover .faq-item__icon {
  filter: brightness(0) saturate(100%) invert(27%) sepia(98%) saturate(2500%) hue-rotate(212deg) brightness(95%) contrast(92%);
}

.faq-item__inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  background-color: var(--color-grey-100); /* grey/grey-100 */
  border-radius: 24px;
  overflow: hidden;
}

.faq-item__question-wrap {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  height: 80px;
  padding: 0 24px;
  box-sizing: border-box;
}

.faq-item__number {
  font-family: 'Crimson Pro', serif;
  font-weight: 500;
  font-size: 104px;
  line-height: 1;
  color: var(--color-grey-300); /* grey/grey-300 */
  text-align: right;
  flex-shrink: 0;
  width: 120px; /* room for "01" right-aligned */
  margin-left: -70px;
  margin-top: 30px;
}

.faq-item__question {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 135%;
  color: var(--color-grey-900); /* grey/grey-900 */
  text-align: left;
  margin: 0;
  flex: 1;
}

.faq-item__answer-wrap {
  max-height: 0;
  height: 80px;
  padding: 0 24px 0 98px; /* 24 + 120 (number) + 24 (gap) to align with question */
  box-sizing: border-box;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-item.is-open .faq-item__answer-wrap {
  max-height: 120px;
}

.faq-item__answer {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 165%;
  color: var(--color-grey-600); /* grey/grey-600 */
  text-align: left;
  margin: 0;
  margin-right: 40px;
}

.faq-item__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* Show plus by default, show minus when FAQ is expanded */
.faq-item__icon--minus {
  display: none;
}

.faq-item.is-open .faq-item__icon--plus {
  display: none;
}

.faq-item.is-open .faq-item__icon--minus {
  display: block;
}

.project-block {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  height: 590px;
  margin-top: 80px;
  border-bottom: 1px solid var(--color-grey-200);
}

a.project-block {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

a.project-block:hover .project-block__title {
  color: var(--color-primary-hover);
}

.project-block:first-child {
  margin-top: 80px;
}

.project-block:last-child {
  border-bottom: none;
}

.project-block__content {
  flex: 1 1 33.333%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.project-block__title {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 32px;
  line-height: 135%;
  text-align: left;
  color: var(--color-grey-900); /* grey/grey-900 */
  margin: 0 0 16px 0;
}

.project-block__description {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 165%;
  text-align: left;
  color: var(--color-grey-500); /* grey/grey-500 */
  margin: 0;
}

.project-block__image-wrap {
  flex: 2 2 66.667%;
  min-width: 0;
  height: 510px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.project-block__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top right;
}

/* Below 808px: image above title/description, image centered, title/description full width */
@media (max-width: 807px) {
  .project-block {
    flex-direction: column;
    align-items: stretch;
    height: auto;
    gap: 24px;
    padding-bottom: 48px;
  }

  .project-block__image-wrap {
    order: -1;
    height: auto;
    min-height: 200px;
    justify-content: center;
    align-items: center;
  }

  .project-block__image {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 280px;
    object-position: center;
  }

  .project-block__content {
    flex: 1 1 auto;
    width: 100%;
    max-width: 100%;
  }
}

/* Testimonial Section */
.testimonial-section {
  height: auto;
  padding-top: 240px;
  padding-bottom: 240px;
  box-sizing: border-box;
}

.testimonial-section .hero-badge {
  margin-top: 0;
}

.testimonial-section__cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 48px;
  margin: 80px auto 0;
  max-width: 1200px;
  padding: 0 20px;
}

.testimonial-card {
  position: relative;
  width: 360px;
  height: 440px;
  background-color: var(--color-grey-100);
  border-radius: 24px 24px 0 24px; /* All corners 24px except bottom-right */
  padding: 32px;
  box-sizing: border-box;
}

.testimonial-card__exclude-right {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 80px;
  height: 80px;
  z-index: 10;
  pointer-events: none;
  object-fit: contain;
}

.testimonial-card__rating {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 135%;
  text-align: left;
  color: var(--color-grey-500); /* grey/grey-500 */
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.testimonial-card__rating-icon {
  display: block;
  width: 16px;
  height: 16px;
  color: var(--color-grey-500); /* grey/grey-500 - fill/stroke for SVG */
}

.testimonial-card__heading {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 135%;
  text-align: left;
  color: var(--color-grey-900);
  margin: 0 0 16px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.testimonial-card__description {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 165%;
  text-align: left;
  color: var(--color-text-muted);
  margin: 0 0 24px 0;
}

.testimonial-card__name {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 135%;
  text-align: left;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.testimonial-card__role {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 135%;
  text-align: left;
  color: var(--color-text-muted);
  margin: 0;
}

/* Why Us Section (About page) – two cards, similar to testimonial */
.why-us-section {
  height: auto;
  padding-top: 160px;
  padding-bottom: 160px;
  box-sizing: border-box;
}

.why-us-section .hero-badge {
  margin-top: 0;
}

.why-us-section__header {
  font-family: 'Crimson Pro', serif;
  font-weight: 500;
  font-size: 64px;
  line-height: 120%;
  text-align: center;
  width: 720px;
  max-width: 100%;
  margin: 40px auto 0 auto;
  padding: 0 24px;
  color: var(--color-grey-900);
  box-sizing: border-box;
}

.why-us-section__cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  margin: 80px auto 0;
  max-width: 1200px;
  padding: 0 20px;
}

.why-us-card {
  position: relative;
  width: 520px;
  min-height: 200px;
  background-color: var(--color-grey-100);
  border-radius: 0 0 0 24px;
  padding: 32px;
  box-sizing: border-box;
}

.why-us-card--primary {
  background-color: var(--color-primary);
}

.why-us-card--primary .why-us-card__heading,
.why-us-card--primary .why-us-card__description,
.why-us-card--primary .why-us-card__list {
  color: var(--color-white);
}

/* Overlap exclude slightly to remove anti-aliased seam on blue card */
.why-us-card--primary .why-us-card__exclude-right {
  width: 82px;
  height: 82px;
  right: -1px;
  bottom: -1px;
}

.why-us-card--grey {
  background-color: var(--color-grey-100);
}

.why-us-card__list {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 165%;
  color: var(--color-grey-500);
  margin: 24px 0 24px 0;
  padding: 0 0 0 20px;
  list-style: disc;
}

.why-us-card__list li {
  margin-bottom: 8px;
}

.why-us-card__list li:last-child {
  margin-bottom: 0;
}

.why-us-card__exclude-right {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 80px;
  height: 80px;
  z-index: 10;
  pointer-events: none;
  object-fit: contain;
}

.why-us-card__icon {
  display: block;
  width: 48px;
  height: 48px;
  max-width: 48px;
  max-height: 48px;
  margin-bottom: 16px;
  object-fit: contain;
}

.why-us-card--grey .why-us-card__icon {
  width: 48px;
  height: 48px;
  padding: 8px;
  box-sizing: border-box;
  object-fit: contain;
}


.why-us-card__heading {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 135%;
  text-align: left;
  color: var(--color-grey-900);
  margin: 48px 0 0 0;
}

.why-us-card__description {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 165%;
  text-align: left;
  color: var(--color-text-muted);
  margin: 0;
}

/* Testimonial: tablet = 264px cards, break down responsively; flexbox centers incomplete rows */
@media (max-width: 1439px) {
  .testimonial-section__cards {
    gap: 32px;
    max-width: 100%;
  }

  .testimonial-card {
    width: 264px;
    max-width: 264px;
    height: auto;
    min-height: 440px;
  }
}

/* 2×264px + gap + padding ≈ 632px → single column, full width */
@media (max-width: 631px) {
  .testimonial-section__cards {
    gap: 24px;
  }

  .testimonial-card {
    width: 100%;
    max-width: 100%;
    min-height: 0;
  }

  .testimonial-section__header {
    font-size: 32px;
  }
}

/* Lets Build Section */
.lets-build {
  background-color: var(--color-white); /* grey/white-00 */
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 240px;
  padding-bottom: 240px;
  box-sizing: border-box;
}

.lets-build__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 860px;
  padding: 0 20px;
}

.lets-build__pill {
  display: block;
  margin: 0 auto;
  width: 112px;
  height: 52px;
}

.lets-build__header {
  font-family: 'Crimson Pro', serif;
  font-weight: 400;
  font-size: 48px;
  line-height: 110%;
  color: var(--color-grey-900);
  margin: 24px 0 0;
}

.lets-build__icon {
  width: 24px;
  height: 24px;
  margin-top: 24px;
  display: block;
}

.lets-build__text {
  font-family: 'Crimson Pro', serif;
  font-weight: 300;
  font-size: 40px;
  line-height: 135%;
  letter-spacing: 0;
  text-align: center;
  color: var(--color-grey-900); /* grey-900 */
  margin: 24px 0 0;
}

.lets-build__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 32px;
  padding: 16px 32px;
  background-color: var(--color-primary-muted);
  color: var(--color-white); /* grey/white-000 */
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 32px;
  letter-spacing: 0;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 1000px;
  cursor: pointer;
}

.lets-build__button:hover {
  background-color: #000000;
}

/* Footer */
.footer {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 929px;
  box-sizing: border-box;
}

.footer__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.footer__bg-image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: translate(600px, -200px) scale(0.6) rotate(-90deg);
}

.footer__gradient {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    var(--color-white) 0%,           /* grey/white-000 */
    #BFDBFE 24%,          /* primary blue/blue-200 */
    var(--color-primary) 64%,          /* primary blue/blue-500 */
    #1e40af 100%          /* primary blue/blue-800 */
  );
}

.footer__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: row;
  width: 100%;
  max-width: 1392px;
  margin-left: auto;
  margin-right: auto;
  height: 745px;
  box-sizing: border-box;
}

.footer__inner-left {
  position: relative;
  width: 50%;
  height: 100%;
  box-sizing: border-box;
  padding: 32px;
}

.footer__logo {
  position: absolute;
  bottom: 32px;
  left: 32px;
  display: block;
}

.footer__heading {
  font-family: 'Crimson Pro', serif;
  font-weight: 400;
  font-size: 48px;
  line-height: 110%;
  color: var(--color-white); /* grey/white-000 */
  margin: 0;
}

.footer__intro {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 165%;
  text-align: left;
  color: var(--color-grey-100); /* grey/grey-100 */
  margin: 0;
  margin-top: 24px;
}

.footer__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 124px;
  padding: 14px 24px;
  margin-top: 32px;
  background-color: var(--color-white);
  color: var(--color-grey-700);
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  box-sizing: border-box;
  border-radius: 24px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.footer__button:hover {
  background-color: var(--color-grey-800);
  color: var(--color-grey-100);
}

.footer__email {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 165%;
  color: var(--color-grey-100); /* grey/grey-100 */
  margin: 0;
  margin-top: 60px;
}

.footer__inner-right {
  display: flex;
  flex-direction: column;
  width: 50%;
  height: 100%;
  box-sizing: border-box;
  padding: 32px;
}

.footer__copyright {
  margin-top: auto;
  margin-bottom: 0;
  padding-top: 24px;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 165%;
  color: var(--color-white); /* grey/white-000 */
  text-align: right;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
  margin-top: 160px;
}

.footer__nav-link {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 165%;
  color: var(--color-white); /* grey/white-000 */
  text-decoration: none;
}

.footer__nav-link:hover {
  color: var(--color-grey-100); /* grey/grey-100 - slightly muted on hover */
}

/* Below 808px: footer columns 70% / 30% */
@media (max-width: 807px) {
  .footer__inner-left {
    width: 70%;
  }

  .footer__inner-right {
    width: 30%;
  }
}

/* ========== Responsive: Tablet (max-width: 1439px) ========== */
@media (max-width: 1439px) {
  /* Keep hero decal at desktop size/position so it stays stationary when narrowing */
  .hero-main {
    overflow-x: hidden;
  }

  .hero-arrow {
    width: 1478px;
    min-width: 1478px;
    max-width: none;
    margin-top: -340px;
    margin-left: 50%;
    margin-right: 0;
    transform: translateX(-50%);
  }

  /* Hero glass bar: single line, clip ends (e.g. AI Strategy, Confident Launch) into hidden area */
  .hero-glass-bar {
    flex-wrap: nowrap;
    overflow-x: hidden;
    padding: 0 20px;
  }

  .hero-glass-bar span {
    white-space: nowrap;
  }

  /* Blog list: cards wrap as viewport narrows, 32px gap, center when row not full (tablet) */
  .our-projects__list--posts {
    grid-template-columns: repeat(auto-fill, 264px);
    gap: 32px;
    justify-content: center;
  }

  /* Blog card dimensions: tablet */
  .our-projects__card--post {
    width: 264px;
  }

  .our-projects__card--post .our-projects__card-image-wrap {
    height: 352px;
  }
}

/* ========== Responsive: Mobile (max-width: 430px) ========== */
/* Show hamburger and hide nav links from 807px down (so hover can be tested at tablet width) */
@media (max-width: 807px) {
  .nav-links-container {
    display: none;
  }

  .header-hamburger {
    display: flex;
  }

  .mobile-menu-overlay.mobile-menu-overlay--open {
    display: flex;
  }

  /* Ensure margin to the right of the screen when hamburger is visible */
  .main-nav-wrapper {
    padding-left: 24px;
    padding-right: 24px;
  }

  .header-hamburger:hover {
    background-color: var(--color-grey-800); /* grey/grey-900 */
  }

  .header-hamburger:hover .header-hamburger__icon--default {
    opacity: 0;
  }

  .header-hamburger:hover .header-hamburger__icon--hover {
    opacity: 1;
  }

  /* Same look when focused (after click or keyboard) */
  .header-hamburger:focus-visible {
    background-color: var(--color-grey-800); /* grey/grey-900 */
    outline: none;
  }

  .header-hamburger:focus-visible .header-hamburger__icon--default {
    opacity: 0;
  }

  .header-hamburger:focus-visible .header-hamburger__icon--hover {
    opacity: 1;
  }

  /* Class-based hover for JS-driven hover (ensures hover works) */
  .header-hamburger.is-hovered {
    background-color: var(--color-grey-800); /* grey/grey-900 */
  }

  .header-hamburger.is-hovered .header-hamburger__icon--default {
    opacity: 0;
  }

  .header-hamburger.is-hovered .header-hamburger__icon--hover {
    opacity: 1;
  }
}

@media (max-width: 430px) {
  /* Mobile overrides: add styles here when viewport is 430px or less */

  .mobile-menu-overlay.mobile-menu-overlay--open {
    display: flex;
  }

  /* Match main-header (margin 8px) + main-nav-wrapper (padding 18px) = 26px horizontal inset */
  .mobile-menu-overlay__top-bar {
    margin: 20px 26px 0 26px;
    padding: 0;
  }

  .mobile-menu-overlay__nav {
    padding: 24px 26px 0 26px;
  }

  .mobile-menu-overlay__cta {
    padding: 24px 26px;
  }

  /* Prevent horizontal scroll: use html only to avoid breaking vertical scroll on iOS */
  html {
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Do not set overflow on body on mobile - it can prevent vertical scroll in iOS Safari */
  .main-header {
    overflow-x: hidden;
    padding: 20px 0;
    left: 0;
    right: 0;
    margin-left: 8px;
    margin-right: 8px;
  }

  .main-nav-wrapper {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 18px;
    padding-right: 18px;
    box-sizing: border-box;
  }

  /* Hero: fixed height on mobile, clip so decal can't over-run when scrolling */
  .hero-main {
    height: 896px;
    overflow-x: hidden;
    overflow-y: hidden;
    position: relative;
  }

  .hero-main--our-projects {
    height: auto;
  }

  .hero-main--our-projects h1 {
    margin-bottom: 0;
    min-height: 0;
  }

  .hero-main--our-projects p {
    margin-top: 0;
  }

  .hero-main--contact {
    padding-bottom: 80px;
  }

  .hero-main--contact.hero-main--contact-thank-you {
    padding-bottom: 20px;
  }

  .hero-our-projects__search-wrap {
    margin-top: 0;
  }

  .hero-our-projects__search-form {
    max-width: 342px;
  }

  /* Blog list: single column on mobile */
  .our-projects__list--posts {
    grid-template-columns: 1fr;
  }

  /* Blog card dimensions: mobile */
  .our-projects__card--post {
    width: 342px;
  }

  .our-projects__card--post .our-projects__card-image-wrap {
    height: 456px;
  }

  /* Blog show page image: mobile */
  .post-show__image-wrap {
    width: 342px;
    height: 192.38px;
  }

  /* Blog show page typography: mobile */
  .post-show__body {
    font-size: 14px;
  }

  .post-show__body h2 {
    font-size: 18px;
  }

  /* Decal on mobile: absolute at bottom of hero so it stays contained, no pull on scroll */
  .hero-arrow {
    display: block;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    width: 100%;
    max-width: 100%;
    padding: 0 20px;
    object-fit: contain;
    object-position: bottom center;
  }

  /* Scale hero heading and text to fit mobile */
  .hero-main h1 {
    font-size: 52px;
    padding: 0 16px;
  }

  /* Hero title: "Inventive Thinking" on one line, "Ideas in Motion" on the next */
  .hero-main__title-br {
    display: block;
  }

  .hero-main p {
    font-size: 14px;
    padding: 0 16px;
    margin: 20px auto 20px;
  }

  /* Hero buttons: stack on two lines with 24px horizontal margin */
  .hero-main__buttons {
    flex-direction: column;
    align-items: stretch;
    margin-left: 24px;
    margin-right: 24px;
    margin-top: 48px;
    gap: 16px;
  }

  .hero-main__btn {
    width: 100%;
  }

  /* Hero glass bar text size on mobile */
  .hero-glass-bar {
    font-size: 16px;
  }

  .hero-badge {
    margin-top: 0;
  }

  .quote-section__text {
    font-size: 36px;
    padding-left: 24px;
    padding-right: 24px;
  }

  .quote-section {
    padding-top: 160px;
    padding-bottom: 160px;
    height: auto;
  }

  .quote-section__content {
    gap: 0;
  }

  /* Quote section: pill image beneath the quote text on mobile */
  .quote-section__pill {
    order: 1;
    margin-top: 32px;
  }

  .services-section {
    padding-top: 160px;
    padding-bottom: 160px;
  }

  /* Section h2 headers (e.g. Our Services, Results Shaped by Intent) */
  .services-section__header,
  .process-section__header,
  .projects-section__header,
  .blog-section__header,
  .faq-section__header,
  .testimonial-section__header,
  .how-we-do-it__header,
  .core-values__header,
  .why-us-section__header,
  .lets-build__header {
    font-size: 36px;
  }

  .lets-build__header {
    font-size: 48px;
  }

  .lets-build__text {
    font-size: 36px;
  }

  .lets-build {
    padding-top: 160px;
    padding-bottom: 160px;
  }

  /* Blog section: center badge and header on mobile */
  .blog-section .hero-badge {
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
  }

  .blog-section__header {
    text-align: center;
  }

  /* Blog section: View all articles below the cards on mobile */
  .blog-section__inner {
    display: flex;
    flex-direction: column;
  }

  .blog-section__view-all {
    grid-row: auto;
    grid-column: auto;
    margin-top: 42px;
  }

  .blog-section {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 160px;
    padding-bottom: 160px;
  }

  .services-section__header,
  .how-we-do-it__header,
  .core-values__header {
    padding-left: 24px;
    padding-right: 24px;
  }

  /* How we do it: progress wrap full width, list 24px horizontal padding */
  .how-we-do-it__progress-wrap {
    width: 100%;
  }

  .how-we-do-it__progress {
    padding-left: 24px;
    padding-right: 24px;
  }

  /* How we do it: card body under card image on mobile */
  .how-we-do-it__label-wrap-bottom {
    flex-direction: column;
    height: auto;
    width: 100%;
    gap: 0;
  }

  .how-we-do-it__card-image {
    width: 238px;
    height: 317.33px;
    padding-left: 32px;
    padding-right: 32px;
  }

  .how-we-do-it__card-body {
    padding-left: 32px;
    padding-right: 32px;
    padding-bottom: 32px;
  }

  .how-we-do-it__card-text {
    padding-right: 0;
  }

  .how-we-do-it__card-header {
    padding-top: 0;
  }

  /* Core values: full width and padding on mobile */
  .core-values__progress-wrap {
    width: 100%;
  }

  .core-values__progress {
    padding-left: 24px;
    padding-right: 24px;
  }

  .core-values__label-wrap-bottom {
    width: 100%;
    box-sizing: border-box;
  }

  /* Why Us section: two cards on mobile */
  .why-us-section__header {
    padding-left: 24px;
    padding-right: 24px;
  }

  .why-us-section {
    padding-top: 160px;
    padding-bottom: 160px;
  }

  .why-us-section__cards {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
    margin-left: 24px;
    margin-right: 24px;
    padding: 0;
  }

  .why-us-card {
    width: 100%;
    max-width: 360px;
  }

  .our-projects__section {
    padding-left: 24px;
    padding-right: 24px;
    padding-bottom: 160px;
  }

  .our-projects__list {
    grid-template-columns: minmax(0, 1fr);
  }

  /* Our projects index (YAML): same horizontal inset as project-show cards; cards shrink to viewport */
  .our-projects__section:not(.our-projects__section--posts) {
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
  }

  .our-projects__section:not(.our-projects__section--posts) .our-projects__inner {
    max-width: 100%;
  }

  .our-projects__section:not(.our-projects__section--posts) .our-projects__list {
    grid-template-columns: minmax(0, 1fr);
  }

  .our-projects__section:not(.our-projects__section--posts) .our-projects__list > li {
    min-width: 0;
    max-width: 100%;
  }

  .our-projects__section:not(.our-projects__section--posts) .our-projects__list > li .projects-section__card {
    width: 100%;
    max-width: 100%;
  }

  /* Highlighted works (projects) section: center h2, view-all under last project */
  .projects-section {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 160px;
    padding-bottom: 160px;
  }

  .projects-section__inner {
    display: flex;
    flex-direction: column;
  }

  .projects-section .hero-badge {
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
  }

  .projects-section__header {
    text-align: center;
  }

  .projects-section__view-all {
    grid-row: auto;
    grid-column: auto;
    margin-top: 32px;
    padding-top: 0;
  }

  .project-block__description {
    font-size: 14px;
  }

  .project-block__title {
    font-size: 28px;
  }

  /* Our process section: 24px horizontal padding on mobile */
  .process-section {
    padding-left: 24px;
    padding-right: 24px;
    padding-top: 160px;
    padding-bottom: 160px;
    min-height: 0;
  }

  .process-section__header,
  .process-section__cards {
    padding-left: 0;
    padding-right: 0;
  }

  .process-section__cards {
    margin-top: 0;
  }

  /* Card width on mobile */
  .service-card,
  .process-card {
    width: 320px;
    max-width: 320px;
  }

  .testimonial-card {
    width: 360px;
    max-width: 360px;
  }

  /* Mobile: show only the first testimonial card */
  .testimonial-card:not(:first-child) {
    display: none;
  }

  /* Testimonial section: no min-height on mobile (only one card shown) */
  .testimonial-section {
    min-height: 0;
    padding-bottom: 160px;
    padding-top: 160px;
  }

  .testimonial-section .hero-badge {
    margin-top: 0;
  }

  /* Testimonial card: font weight one step lighter on mobile (500 → 400) */
  .testimonial-card__rating,
  .testimonial-card__heading,
  .testimonial-card__description,
  .testimonial-card__name,
  .testimonial-card__role {
    font-weight: 400;
  }

  .blog-card__link,
  .blog-card {
    width: 342px;
  }

  /* Mobile: show only the first blog card */
  .blog-section__list .blog-card__link:not(:first-child) {
    display: none;
  }

  /* Space between the (single) blog card and View all articles link */
  .blog-section__list {
    margin-bottom: 42px;
  }

  /* Gap between cards on mobile */
  .services-section__cards,
  .process-section__cards,
  .testimonial-section__cards,
  .blog-section__list {
    gap: 32px;
  }

  /* FAQ items: fixed width on mobile */
  .faq-item--first,
  .faq-item {
    width: 342px;
    max-width: 342px;
  }

  .faq-item__number {
    font-size: 52px;
    margin-top: -20px;
    margin-left: -85px;
  }

  .faq-item__question {
    font-size: 16px;
  }

  .faq-item__answer {
    font-size: 12px;
  }

  .faq-item__question-wrap {
    padding: 0;
    gap: 10px;
    height: 76px;
  }

  .faq-item__icon {
    margin-right: 8px;
    margin-top: -20px;
  }

  .faq-item__answer-wrap {
    padding: 0 0px 0 36px;
  }

  /* Footer: let height grow so gradient covers full stacked content */
  .footer {
    height: auto;
    min-height: 929px;
    padding-top: 240px;
  }

  .footer__inner {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding-left: 24px;
    padding-right: 24px;
    flex-direction: column;
    height: auto;
    min-height: 745px;
  }

  .footer__inner-left,
  .footer__inner-right {
    width: 100%;
  }

  .footer__inner-left {
    padding-left: 0;
    padding-right: 0;
  }

  .footer__inner-right {
    padding-left: 0;
    padding-right: 0;
  }

  .footer__nav {
    align-items: flex-start;
    margin-top: 0;
    padding-top: 60px;
  }

  .footer__logo {
    position: static;
    width: 64px;
    height: 64px;
    margin-top: 4.5rem;
    margin-bottom: 4.5rem;
    
  }

  .footer__copyright {
    text-align: center;
  }

  /* Gradient already has inset: 0 so it covers the whole .footer */
  .footer__gradient {
    position: absolute;
    inset: 0;
  }

  .footer__bg-image {
    transform: translate(100px, -400px) scale(0.6) rotate(-90deg);
  }

  /* Hide scaffolding breakpoint indicator on mobile */
  .scaffold-breakpoint {
    display: none !important;
  }
}

/* Contact page */
.contact-page {
  padding: 120px 24px 160px;
  box-sizing: border-box;
}

.contact-page--form {
  padding-top: 0;
  padding-bottom: 160px;
  background-color: var(--color-white);
}

.contact-page.contact-page--thank-you.contact-page--form {
  padding-bottom: 0;
}

/* Thank-you: CTA above submission summary (same width as .contact-page__inner) */
.contact-page--thank-you-top {
  padding: 0 24px 32px;
  box-sizing: border-box;
  background-color: var(--color-white);
}

.contact-page--thank-you-top .contact-thank-you__actions {
  margin-top: 0;
}

/* Thank-you: follow-up copy — same typography as contact hero intro (.hero-main p + .hero-main--our-projects p) */
.contact-page.contact-page--thank-you.contact-page--form + .contact-thank-you__followup {
  max-width: 640px;
  margin: 24px auto 40px;
  padding: 0 20px;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-style: normal;
  font-size: 16px;
  line-height: 145%;
  letter-spacing: 0.2px;
  color: var(--color-grey-900);
  text-align: center;
  box-sizing: border-box;
}

@media (min-width: 431px) {
  .contact-page.contact-page--thank-you.contact-page--form + .contact-thank-you__followup {
    max-width: 800px;
  }
}

@media (max-width: 430px) {
  .contact-page.contact-page--thank-you.contact-page--form + .contact-thank-you__followup {
    font-size: 14px;
    padding: 0 16px;
  }
}

.contact-page--flash {
  padding: 24px 24px 0;
  background-color: var(--color-white);
}

.contact-form__errors--flash {
  margin-bottom: 0;
}

.contact-page__inner {
  max-width: 640px;
  margin: 0 auto;
}

@media (min-width: 431px) {
  .contact-page__inner {
    max-width: 800px;
  }
}

.contact-page__title {
  font-family: 'Crimson Pro', serif;
  font-weight: 500;
  font-size: 48px;
  line-height: 1.1;
  color: var(--color-grey-900);
  margin: 0 0 16px 0;
}

.contact-page__intro {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 165%;
  color: var(--color-grey-700);
  margin: 0 0 40px 0;
}

.contact-form__errors {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 24px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--color-grey-900);
}

.contact-form__errors ul {
  margin: 8px 0 0 0;
  padding-left: 20px;
}

.contact-form__field {
  margin-bottom: 24px;
}

/* Name/company and email/phone: stacked on mobile, 50/50 row on tablet & desktop */
@media (min-width: 431px) {
  .contact-form__row--split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 24px;
  }

  .contact-form__row--split .contact-form__field {
    margin-bottom: 0;
  }
}

.contact-form label,
.contact-form__label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 14px;
  color: var(--color-grey-900);
  margin-bottom: 8px;
}

.contact-form__asterisk {
  color: #DC2626;
  margin-left: 2px;
  font-weight: 300;
}

.contact-form__input,
.contact-form__textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 16px;
  border: 1px solid var(--color-grey-200);
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 300;
  line-height: 145%;
  color: var(--color-grey-900);
  background: var(--color-white);
}

.contact-form__input:focus,
.contact-form__textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px var(--color-primary);
}

.contact-form__textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form__input::placeholder,
.contact-form__textarea::placeholder {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 145%;
  color: var(--color-grey-400);
  opacity: 1;
}

.contact-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 32px;
  border: none;
  border-radius: 1000px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 500;
  transition: background-color 0.2s ease, color 0.2s ease;
}

/* Enabled: primary blue / blue-500 — pressable once mandatory fields pass validation */
.contact-form__submit:not(:disabled) {
  background-color: var(--color-primary);
  color: var(--color-white);
  cursor: pointer;
}

.contact-form__submit:hover:not(:disabled) {
  background-color: var(--color-primary-hover);
  color: var(--color-white);
}

.contact-form__submit:disabled {
  background-color: var(--color-grey-400);
  color: var(--color-white);
  opacity: 1;
  cursor: not-allowed;
}

.contact-form__submit:disabled:hover {
  background-color: var(--color-grey-400);
  color: var(--color-white);
}

@media (min-width: 431px) {
  .contact-form__submit {
    width: 800px;
    max-width: 100%;
    box-sizing: border-box;
  }
}

.contact-thank-you__summary {
  margin: 0 0 40px 0;
  padding: 24px;
  background: var(--color-grey-100);
  border-radius: 16px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--color-grey-900);
  line-height: 165%;
}

.contact-thank-you__summary dt {
  font-weight: 400;
  color: var(--color-grey-900);
  margin-top: 16px;
  line-height: 165%;
}

.contact-thank-you__summary dt:first-child {
  margin-top: 0;
}

.contact-thank-you__summary dd {
  margin: 4px 0 0 0;
  color: var(--color-grey-900);
  font-weight: 300;
  line-height: 165%;
}

.contact-thank-you__message {
  white-space: normal;
}

.contact-thank-you__summary dd.contact-thank-you__message > p {
  line-height: 165%;
}

.contact-thank-you__summary strong,
.contact-thank-you__summary b {
  font-weight: 400;
}

/* Thank-you summary: label | value on one row (desktop & tablet) */
@media (min-width: 431px) {
  .contact-thank-you__summary {
    display: grid;
    grid-template-columns: 3fr 7fr; /* ~30% / ~70% label vs value */
    column-gap: 24px;
    row-gap: 16px;
    align-items: start;
    font-size: 16px;
  }

  .contact-thank-you__summary dt {
    margin-top: 0;
    font-family: 'Inter', sans-serif;
    font-weight: 500; /* Medium */
    font-size: 16px;
    line-height: 165%;
    color: var(--color-grey-900);
  }

  .contact-thank-you__summary dd::before {
    content: ":";
    padding-right: 25px; /* gap between ":" and result text */
  }

  .contact-thank-you__summary dd {
    margin: 0;
    min-width: 0;
    font-family: 'Inter', sans-serif;
    font-weight: 300; /* one step lighter than regular */
    font-size: 16px;
    line-height: 165%;
    color: var(--color-grey-900);
  }

  /* Your message: grid so wrapped lines align under first line (same as ":" + value column) */
  .contact-thank-you__summary dd.contact-thank-you__message {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 25px;
    align-items: start;
  }

  .contact-thank-you__summary dd.contact-thank-you__message::before {
    padding-right: 0;
    grid-column: 1;
    grid-row: 1;
    align-self: start;
  }

  .contact-thank-you__summary dd.contact-thank-you__message > p {
    grid-column: 2;
    margin: 0;
    min-width: 0;
  }

  .contact-thank-you__summary dd.contact-thank-you__message > p:not(:first-child) {
    margin-top: 8px;
  }
}

.contact-thank-you__actions {
  text-align: center;
  margin-top: 8px;
}

.contact-thank-you__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 52px;
  padding: 14px 32px;
  border: none;
  border-radius: 1000px;
  background-color: var(--color-white-000);
  box-shadow: inset 0 0 0 1px var(--color-grey-200);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--color-grey-700);
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.contact-thank-you__link:visited {
  color: var(--color-grey-700);
}

/* Same as Get started (.nav-button:hover): grey-800 fill, grey-100 label */
a.contact-thank-you__link:hover,
a.contact-thank-you__link:focus-visible {
  background-color: var(--color-grey-800);
  color: var(--color-grey-100);
  text-decoration: none;
  box-shadow: none;
}

@media (max-width: 430px) {
  .contact-page__title {
    font-size: 36px;
  }

  .contact-page--form {
    padding-top: 0;
  }

  /* Thank-you: space after hero sits above the CTA, not between CTA and summary */
  .contact-page--thank-you-top {
    padding-top: 0;
  }

  .contact-thank-you__summary {
    font-size: 16px;
  }

  .contact-thank-you__summary dt {
    font-weight: 500;
  }

  .contact-form__actions {
    width: 100%;
  }

  .contact-form__submit {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    display: flex;
  }
}

/* ========== SCAFFOLDING - remove before production ========== */
.scaffold-breakpoint {
  position: fixed;
  bottom: 12px;
  right: 12px;
  z-index: 9999;
  padding: 8px 12px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: var(--color-grey-900);
  background: #FEF3C7;
  border: 1px solid #F59E0B;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  pointer-events: none;
}


