/* ==========================================================================
   DMO — Discuss Manage Output
   ========================================================================== */

:root {
  --primary: #00a4d5;
  --primary-600: #0098c5;
  --teal: #02667a;
  --teal-deep: #04596d;
  --navy: #1e2d38;
  --accent: #fcba2b;
  --red: #c92435;

  --ink: #121212;
  --ink-80: rgba(18, 18, 18, 0.8);
  --ink-70: rgba(18, 18, 18, 0.7);
  --ink-60: rgba(18, 18, 18, 0.6);
  --ink-40: rgba(18, 18, 18, 0.4);
  --ink-30: rgba(18, 18, 18, 0.3);
  --ink-12: rgba(18, 18, 18, 0.12);
  --ink-10: rgba(18, 18, 18, 0.1);

  --surface: #ffffff;
  --surface-muted: #f6f6f6;
  --surface-soft: #f3f4f6;

  --font-display: "Urbanist", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-alt: "Poppins", var(--font-body);
  --font-switzer: "Switzer", var(--font-body);
  --font-satoshi: "Satoshi", var(--font-body);

  --container: 1240px;
  --gutter: 100px;
  --radius: 12px;
  --radius-pill: 90px;

  --header-h: 88px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
p,
ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
  padding: 0;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: 80px;
}

.section,
.about,
.approach,
.faq {
  position: relative;
}

.eyebrow {
  display: inline-block;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--primary);
}

.eyebrow--accent {
  color: var(--accent);
  text-transform: none;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.section-head--center {
  align-items: center;
  text-align: center;
}

.section-head--center .section-title {
  max-width: 626px;
}

/* 404 page */
.error__code {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(56px, 11vw, 110px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--accent);
  margin-bottom: 4px;
}

.error__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.error__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

/* Article breadcrumb */
.breadcrumb { margin-bottom: 18px; }
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
}
.breadcrumb li { color: var(--ink-70); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--ink-30); }
.breadcrumb a { color: var(--primary-600); }
.breadcrumb a:hover { text-decoration: underline; }

.lead {
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: -0.05em;
  color: var(--ink-80);
}

.divider-dashed {
  height: 0;
  border: 0;
  border-top: 1px dashed var(--ink-30);
  margin: 0;
}

/* Dot-grid decorations */
.dots {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  width: 275px;
  height: 385px;
  background-image: radial-gradient(circle, var(--dot, rgba(201, 36, 53, 0.3)) 2.5px, transparent 3px);
  background-size: 15px 15px;
}

.dots--blue {
  --dot: rgba(0, 152, 197, 0.3);
  width: 224px;
  height: 313px;
  background-size: 12.2px 12.2px;
  background-image: radial-gradient(circle, var(--dot) 2px, transparent 2.5px);
}

/* Grid sections (Business Areas, Sectors, Project Portfolio, Insights,
   Resources): use the same compact top-right dots strip as .about. */
.biz .dots,
.ins .dots,
.res .dots,
.pp .dots {
  top: 40px;
  right: -7px;
  width: 200px;
  height: 120px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 52px;
  padding: 0 36px;
  border-radius: var(--radius-pill);
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--primary);
  color: #fff;
}

.btn--primary:hover {
  background: var(--primary-600);
  box-shadow: 0 8px 20px rgba(0, 164, 213, 0.35);
}

/* Disabled state on the submit button while sending (the overlay shows the spinner) */
.btn.is-sending {
  opacity: 0.9;
  cursor: progress;
}

@keyframes dmo-spin {
  to { transform: rotate(360deg); }
}

.btn--lg {
  height: 60px;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.btn--light {
  background: #fff;
  color: var(--ink);
  height: 60px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.btn--soft {
  background: var(--surface-soft);
  color: var(--ink);
  height: 44px;
}

.btn--block {
  width: 100%;
}

.pill {
  display: inline-flex;
  align-items: center;
  height: 33px;
  padding: 0 16px;
  border: 1px solid var(--primary-600);
  border-radius: var(--radius-pill);
  font-weight: 500;
  color: var(--primary-600);
  white-space: nowrap;
}

.pill--glass {
  height: 32px;
  padding: 0 12px;
  border: 0;
  border-radius: 15px;
  color: #fff;
  background: rgba(18, 18, 18, 0.3);
  backdrop-filter: blur(11px);
  -webkit-backdrop-filter: blur(11px);
}

/* Social links */
.socials {
  display: flex;
  gap: 16px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--ink-30);
  border-radius: var(--radius);
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s;
}

.socials--sq a {
  border-radius: 8px;
}

.socials a:hover {
  border-color: var(--primary);
  background: rgba(0, 164, 213, 0.08);
  transform: translateY(-2px);
}

.socials img {
  width: 24px;
  height: 24px;
}

.socials img.icon-sm {
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background-color 0.3s, box-shadow 0.3s, height 0.3s;
}

.site-header--bar {
  background: rgba(0, 164, 213, 0.3);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

/* Pages without a dark hero: keep the header solid from the top. */
.site-header--solid {
  background: rgba(2, 102, 122, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
}

.site-header.is-scrolled {
  --header-h: 76px;
  background: rgba(2, 102, 122, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand img {
  width: 144px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a {
  position: relative;
  font-weight: 500;
  color: #fff;
  padding-block: 6px;
  white-space: nowrap;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: #fff;
  transform: translateX(-50%);
  transition: width 0.3s var(--ease);
}

.nav a:hover::after,
.nav a.is-active::after {
  width: 100%;
}

.nav-cta-mobile {
  display: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  position: relative;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 50%;
  width: 22px;
  height: 2px;
  margin-left: -11px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}

.nav-toggle span {
  top: 50%;
  margin-top: -1px;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  left: 0;
  margin-left: 0;
}

.nav-toggle span::before {
  top: -7px;
}

.nav-toggle span::after {
  top: 7px;
}

.nav-open .nav-toggle span {
  background: transparent;
}

.nav-open .nav-toggle span::before {
  transform: translateY(7px) rotate(45deg);
}

.nav-open .nav-toggle span::after {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 810px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0d2b31;
  color: #fff;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::before {
  /* tint */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: rgba(1, 119, 147, 0.28);
}

.hero::after {
  /* left gradient panel */
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: -1;
  width: min(940px, 100%);
  background: linear-gradient(-90deg, rgba(1, 119, 147, 0) 0%, rgba(1, 119, 147, 0.6) 100%);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  -webkit-mask-image: linear-gradient(90deg, #000 60%, transparent);
  mask-image: linear-gradient(90deg, #000 60%, transparent);
}

.hero__content {
  max-width: 812px;
  /* padding-top: calc(var(--header-h) + 20px);
  padding-bottom: 60px; */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}

.hero__text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero__title {
  max-width: 755px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 5.6vw, 68px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

/* Home hero only: the H1 is a full sentence now, so use a smaller display size.
   Other pages use .hero--compact and keep the default hero scale. */
.hero:not(.hero--compact) .hero__title {
  font-size: clamp(30px, 4.4vw, 58px);
}

.hero__lead {
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: -0.05em;
  color: rgba(255, 255, 255, 0.8);
}

.hero--compact {
  min-height: 550px;
  background: #081b3a;
  text-align: center;
}

.hero--compact::after {
  width: 100%;
  -webkit-mask-image: none;
  mask-image: none;
}

.hero--compact .hero__content {
  max-width: 1219px;
  margin-inline: auto;
  align-items: center;
  gap: 12px;
  padding-top: calc(var(--header-h) + 40px);
}

.hero--compact .hero__title {
  max-width: none;
}

.hero--compact .hero__lead {
  max-width: 755px;
  line-height: 1.7;
  letter-spacing: 0;
  color: #fff;
  margin-bottom: 16px;
}

/* ==========================================================================
   About
   ========================================================================== */
.about {
  padding-block: 100px;
  overflow: hidden;
}

.about .dots {
  top: -40px;
  right: -7px;
  width: 200px;
  height: 120px;
}

.about__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 643px);
  gap: 51px;
  margin-top: 12px;
}

.about__media {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
}

.about__media .section-title {
  max-width: 513px;
}

.about__img {
  width: 100%;
  height: 459px;
  object-fit: cover;
  background: var(--teal);
}

.about__body {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-top: 10px;
}

.prose p {
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: -0.03em;
  color: var(--ink-80);
}

.prose p + p {
  margin-top: 27px;
}

.stats {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stat__value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat__label {
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: -0.05em;
  color: var(--ink-80);
}

/* ==========================================================================
   Marquee
   ========================================================================== */
.marquee {
  height: 80px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--primary);
  color: #fff;
}

.marquee__track {
  display: flex;
  flex-shrink: 0;
  gap: 40px;
  padding-right: 40px;
  animation: marquee var(--marquee-duration, 40s) linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-switzer);
  font-size: 26px;
  line-height: 1.2;
  white-space: nowrap;
}

.marquee__item img {
  width: 16px;
  height: 16px;
}

@keyframes marquee {
  to {
    transform: translateX(-100%);
  }
}

/* ==========================================================================
   Approach
   ========================================================================== */
.approach {
  background: var(--surface-muted);
  padding: 80px 0 100px;
  overflow: hidden;
}

.approach .dots:not(.dots--blue) {
  top: auto;
  left: auto;
  right: -20px;
  bottom: -20px;
  height: 180px;
}

.approach .dots--blue {
  top: -20px;
  left: -20px;
  right: auto;
  bottom: auto;
  height: 110px;
}

.approach__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 53px;
}

.approach .section-title {
  max-width: 460px;
}

.approach__row {
  display: flex;
  align-items: flex-start;
  gap: 60px;
}

.steps {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

/* Align the two cards on the final row to the end (right) */
.step:nth-child(4) {
  grid-column-start: 2;
}

.step {
  display: flex;
  flex-direction: column;
  gap: 39px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--ink-10);
  border-radius: var(--radius);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.step:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
}

.step__icon {
  width: 64px;
  height: 64px;
  background: var(--surface-muted);
}

.step__icon img {
  width: 100%;
  height: 100%;
}

.step__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.step__text {
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.05em;
  color: var(--ink-80);
}

/* ==========================================================================
   Profile (founder / team member)
   ========================================================================== */
.profile {
  padding-block: 80px;
}

.profile--muted {
  background: var(--surface-muted);
}

.profile__grid {
  display: grid;
  grid-template-columns: 484px minmax(0, 1fr);
  align-items: start;
  gap: 40px;
}

.profile--reverse .profile__grid {
  grid-template-columns: minmax(0, 1fr) 457px;
  gap: 75px;
}

.profile--reverse .profile__aside {
  order: 2;
}

.profile__aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.portrait {
  position: relative;
  width: 100%;
  max-width: 484px;
}

.portrait__frame {
  position: relative;
  height: 476px;
  margin-inline: 15px;
  border-radius: 16px;
  background: #d4dce1;
  overflow: hidden;
}

.portrait__frame img {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 355px;
  height: 446px;
  object-fit: cover;
  object-position: top;
  transform: translateX(-50%);
}

.portrait__frame--fill img {
  width: 100%;
  height: 100%;
  object-position: center 20%;
}

.portrait__badge {
  position: absolute;
  left: 0;
  top: 386px;
  display: inline-flex;
  align-items: center;
  height: 52px;
  padding: 0 36px;
  background: var(--primary-600);
  color: #fff;
  font-family: "Helvetica Neue", Helvetica, var(--font-body);
  font-weight: 500;
  font-size: 16px;
  border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.portrait__badge--right {
  left: auto;
  right: 0;
  border-radius: var(--radius-pill) 0 0 var(--radius-pill);
}

.profile--reverse .portrait__frame {
  margin-inline: 0 15px;
}

.profile__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.profile__head {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.profile__name-wrap {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.profile__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.profile__role {
  font-weight: 500;
  font-size: clamp(19px, 1.8vw, 24px);
  line-height: 1.2;
  letter-spacing: -0.05em;
  color: var(--ink-80);
}

.profile .prose p {
  letter-spacing: -0.02em;
}

/* ==========================================================================
   Who we serve
   ========================================================================== */
.serve {
  position: relative;
  padding: 120px 0 80px;
  background: var(--teal);
  overflow: hidden;
  isolation: isolate;
}

.serve__bg {
  position: absolute;
  inset: 0 0 auto;
  z-index: -3;
  display: block;
  width: 100%;
  height: 810px;
  object-fit: cover;
  pointer-events: none;
}

.serve::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 810px;
  z-index: -2;
  background: rgba(2, 102, 122, 0.55);
}

.serve::after {
  content: "";
  position: absolute;
  inset: 471px 0 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(28, 32, 34, 0) 0%, var(--teal-deep) 42%);
}

.serve .dots {
  top: 0;
  right: 46px;
  height: 250px;
  z-index: -1;
  --dot: rgba(255, 255, 255, 0.35);
}

.serve__inner {
  display: flex;
  flex-direction: column;
  gap: 160px;
}

.serve .section-head {
  gap: 20px;
  align-items: flex-start;
}

.serve .section-title {
  max-width: 779px;
  color: #fff;
}

.serve__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.serve-card {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--ink-30);
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.serve-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.2);
}

.serve-card img {
  width: 44px;
  height: 44px;
  object-fit: cover;
}

.serve-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.serve-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.serve-card__text {
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  color: var(--ink-80);
}

/* ==========================================================================
   Why choose
   ========================================================================== */
.why {
  padding-block: 80px;
}

.why__inner {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.why .section-head .lead {
  max-width: 830px;
  margin-top: 4px;
}

.why__rows {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.why-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 56px;
}

.why-row--reverse {
  flex-direction: row-reverse;
}

.why-row__content {
  flex: 0 1 668px;
  display: flex;
  flex-direction: column;
  gap: 44px;
}

.why-row__head {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.why-row__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 2.6vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.why-row__text {
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: -0.03em;
  color: var(--ink-80);
}

.why-row__media {
  flex: 0 0 501px;
  aspect-ratio: 1;
  overflow: hidden;
}

.why-row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.why-row:hover .why-row__media img {
  transform: scale(1.04);
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.checklist li {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.checklist li + li {
  padding-top: 20px;
  border-top: 1px dashed var(--ink-30);
}

.checklist__title {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(19px, 1.8vw, 24px);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.checklist__title img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.checklist p {
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: var(--ink-80);
}

/* ==========================================================================
   Expertise
   ========================================================================== */
.expertise {
  padding-block: 80px;
  background: var(--navy);
  color: #fff;
}

.expertise__inner {
  display: flex;
  flex-direction: column;
  gap: 53px;
}

.expertise .section-head {
  gap: 16px;
}

.expertise__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 60px;
}

.area {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-block: 24px;
  border-top: 1px dashed rgba(255, 255, 255, 0.3);
}

.area:nth-last-child(-n + 2) {
  border-bottom: 1px dashed rgba(255, 255, 255, 0.3);
}

.area .learn-more {
  margin-top: auto;
}

.area__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(22px, 2.1vw, 28px);
  line-height: 1.2;
}

.area__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.area__list li {
  position: relative;
  padding-left: 16px;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.9);
}

.area__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #9c9c9c;
}

.learn-more {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  background: rgba(224, 224, 224, 0.2);
  font-family: "Helvetica Neue", Helvetica, var(--font-body);
  font-size: 14px;
  line-height: 1;
  color: #fff;
  transition: background-color 0.2s, gap 0.2s;
}

.learn-more:hover {
  background: var(--primary);
  gap: 10px;
}

.learn-more img {
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq {
  padding-block: 100px;
  overflow: hidden;
}

.faq .dots--blue {
  left: 398px;
  bottom: -60px;
  height: 200px;
}

.faq__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 524px) minmax(0, 680px);
  justify-content: space-between;
  gap: 36px;
}

.faq__intro {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  min-height: 568px;
}

.faq__intro-top {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 445px;
}

.faq__intro .section-title {
  max-width: 410px;
}

.faq__sub {
  font-family: var(--font-alt);
  font-size: 20px;
  line-height: 1.5;
  color: var(--ink-70);
}

.faq__help {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.faq__help h3 {
  font-family: var(--font-switzer);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.2;
}

.faq__help p {
  max-width: 414px;
  margin-top: -4px;
  font-family: var(--font-alt);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-70);
}

.faq__help .btn {
  margin-top: 4px;
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.accordion__item {
  background: var(--surface-muted);
  border-radius: var(--radius);
  transition: box-shadow 0.3s;
}

.accordion__item.is-open {
  box-shadow: inset 0 0 0 1px var(--ink-10);
}

.accordion__trigger {
  width: 100%;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  transition: font-size 0.2s;
}

.accordion__item.is-open .accordion__trigger {
  font-size: 24px;
  padding-top: 26px;
  padding-bottom: 16px;
}

.accordion__icon {
  position: relative;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--ink-30);
}

.accordion__icon::before,
.accordion__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 1.5px;
  margin: -0.75px 0 0 -7px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease);
}

.accordion__icon::after {
  transform: rotate(90deg);
}

.accordion__item.is-open .accordion__icon::after {
  transform: rotate(0deg);
}

.accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease);
}

.accordion__item.is-open .accordion__panel {
  grid-template-rows: 1fr;
}

.accordion__panel > div {
  overflow: hidden;
}

.accordion__panel p {
  max-width: 577px;
  padding: 0 24px 26px;
  font-family: var(--font-alt);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-70);
}

/* ==========================================================================
   Offices
   ========================================================================== */
.offices {
  padding-block: 40px;
  background: var(--primary);
  color: #fff;
}

.offices__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.office {
  padding-inline: 20px;
}

.office:first-child {
  padding-left: 0;
}

.office + .office {
  border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.office__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  list-style: none;
}

.office__head::-webkit-details-marker {
  display: none;
}

.office h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  line-height: 1;
}

.office__icon {
  position: relative;
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  color: rgba(255, 255, 255, 0.85);
}

.office__icon::before,
.office__icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 2px;
}

.office__icon::before {
  top: 6px;
  left: 0;
  width: 14px;
  height: 2px;
}

.office__icon::after {
  top: 0;
  left: 6px;
  width: 2px;
  height: 14px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.office[open] .office__icon::after {
  transform: scaleY(0);
  opacity: 0;
}

.office__addr {
  margin-top: 12px;
  font-family: var(--font-switzer);
  font-size: 16px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

/* Clickable office address → Google Maps */
.office__addr a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease, text-decoration-thickness 0.2s ease;
}

.office__addr a:hover,
.office__addr a:focus-visible {
  /* Section background is var(--primary): keep the text white and just thicken
     the (white) underline so hover/focus is clear without a colour clash. */
  color: #fff;
  text-decoration-color: #fff;
  text-decoration-thickness: 2px;
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact {
  padding-block: 80px;
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 670px) minmax(0, 550px);
  justify-content: space-between;
  gap: 20px;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact__info .lead {
  max-width: 527px;
  line-height: 1.6;
  letter-spacing: 0;
  margin-top: 4px;
}

.contact__details {
  display: flex;
  flex-wrap: wrap;
  column-gap: 112px;
  row-gap: 31px;
  max-width: 730px;
}

.detail {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.detail__label {
  font-size: 16px;
  line-height: 1.2;
  color: var(--ink-70);
}

.detail__value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.2;
  color: var(--ink);
}

a.detail__value:hover {
  color: var(--primary);
}

.detail--full {
  flex-basis: 100%;
}

.contact__social {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 245px;
}

.contact__social > span {
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ink-30);
  color: var(--ink-80);
}

.form-card {
  padding: 20px 16px;
  background: var(--surface-muted);
  border: 1px solid var(--ink-10);
  border-radius: var(--radius);
  box-shadow: 0 4px 10.6px rgba(0, 0, 0, 0.12);
}

.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form > .field--full,
.form > .btn,
.form > .form__status,
.form > .form__recaptcha {
  grid-column: 1 / -1;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field__hint {
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink-60);
}

.req {
  color: var(--red);
}

.field label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  line-height: 1;
  color: var(--ink-80);
}

.field input,
.field textarea {
  width: 100%;
  height: 51px;
  padding: 0 16px;
  background: #fff;
  border: 1px solid var(--ink-12);
  border-radius: 8px;
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field textarea {
  height: 120px;
  padding: 12px 16px;
  resize: vertical;
}

.field select {
  width: 100%;
  height: 51px;
  padding: 0 40px 0 16px;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23121212' stroke-width='1.5' d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  border: 1px solid var(--ink-12);
  border-radius: 8px;
  font-size: 16px;
  color: var(--ink);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 164, 213, 0.15);
}

.field input[type="file"] {
  height: auto;
  padding: 10px 14px;
  font-size: 15px;
  color: var(--ink-70);
  cursor: pointer;
}

.field input[type="file"]::file-selector-button {
  margin-right: 14px;
  padding: 8px 18px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--primary);
  color: #fff;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}

.field input[type="file"]::file-selector-button:hover {
  background: var(--primary-600);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--ink-40);
}

.field input:focus,
.field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 164, 213, 0.15);
}

.field.has-error input,
.field.has-error textarea,
.field.has-error select {
  border-color: var(--red);
}

.field__error {
  min-height: 0;
  font-size: 13px;
  line-height: 1.2;
  color: var(--red);
}

.field__error:empty {
  display: none;
}

.field__counter {
  display: none;
  font-size: 13px;
  line-height: 1.2;
  text-align: right;
  color: var(--ink-60);
}

.field__counter.is-visible {
  display: block;
}

.field__counter.is-limit {
  color: var(--red);
}

.form__status {
  font-size: 15px;
  text-align: center;
  color: var(--teal);
}

.form__status:empty {
  display: none;
}

/* reCAPTCHA v3 — hide the floating badge; branding shown in the form instead */
.grecaptcha-badge {
  visibility: hidden;
}

.form__recaptcha {
  margin-top: 12px;
  font-size: 12.5px;
  line-height: 1.5;
  text-align: left;
  color: var(--ink-70);
}

.form__recaptcha a {
  color: inherit;
  text-decoration: underline;
}

/* Honeypot — hidden from humans, visible to bots. */
.form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ==========================================================================
   Success modal
   ========================================================================== */
.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 20, 35, 0.55);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.modal.is-open .modal__backdrop {
  opacity: 1;
}

.modal__dialog {
  position: relative;
  width: 100%;
  max-width: 420px;
  padding: 32px 28px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(9, 20, 35, 0.25);
  text-align: center;
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.modal.is-open .modal__dialog {
  opacity: 1;
  transform: none;
}

.modal__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(0, 164, 213, 0.12);
  color: var(--primary);
}

.modal__icon svg {
  width: 32px;
  height: 32px;
}

.modal__title {
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  color: var(--ink);
}

.modal__text {
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-60);
}

body.modal-open {
  overflow: hidden;
}

/* Blocking loading overlay (contact form submit) */
.loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(9, 20, 35, 0.5);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.loading-overlay[hidden] {
  display: none;
}

.loading-overlay.is-open {
  opacity: 1;
}

.loading-overlay__box {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 28px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(9, 20, 35, 0.25);
  text-align: center;
}

.loading-overlay__box p {
  margin: 0;
  font-weight: 500;
  color: var(--ink);
}

.loading-overlay__spinner {
  width: 26px;
  height: 26px;
  border: 3px solid var(--primary);
  border-top-color: transparent;
  border-radius: 50%;
  animation: dmo-spin 0.7s linear infinite;
}

body.is-loading {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .loading-overlay__spinner {
    animation: none;
    border-top-color: var(--primary);
    opacity: 0.6;
  }
}

/* ==========================================================================
   CTA
   ========================================================================== */
.cta {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
  overflow: hidden;
  background: var(--teal);
  color: #fff;
  text-align: center;
  isolation: isolate;
}

.cta__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(2, 102, 122, 0.72);
}

.cta .dots {
  z-index: -1;
  left: 68px;
  bottom: -40px;
  height: 170px;
  --dot: rgba(201, 36, 53, 0.5);
}

.cta .dots--blue {
  left: auto;
  bottom: auto;
  right: 72px;
  top: 0;
  height: 230px;
  width: 275px;
  --dot: rgba(0, 164, 213, 0.6);
}

.cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 38px;
}

.cta__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.cta h2 {
  max-width: 720px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(36px, 4.6vw, 66px);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.cta p {
  max-width: 685px;
  font-size: 20px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  padding: 60px 0 20px;
  background: var(--surface-muted);
}

.footer__top {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-bottom: 40px;
}

.footer__main {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 48px 60px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 340px;
}

.footer__brand .socials {
  margin-top: 8px;
}

.footer__brand img {
  width: 144px;
}

.footer__brand p {
  color: var(--ink-70);
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.footer__col h3 {
  margin-bottom: 13px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.2;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  line-height: 1.2;
}

.footer__col a {
  font-size: 16px;
  line-height: 1.2;
  color: var(--ink-80);
  transition: color 0.2s;
}

.footer__col a:hover {
  color: var(--primary);
}

.footer__col span {
  font-size: 16px;
  line-height: 1.4;
  color: var(--ink-80);
}

/* Clickable footer locations → Google Maps */
.footer__cities {
  line-height: 1.6;
  width: max-content;
}

.footer__bottom {
  border-top: 1px solid var(--ink-30);
  padding-top: 20px;
  margin-inline: 20px;
}

.footer__bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-inline: calc(var(--gutter) - 20px);
}

.footer__copy {
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.5;
}

.footer__legal {
  display: flex;
  align-items: center;
  gap: 4px;
}

.footer__legal a:hover {
  color: var(--primary);
}

/* ==========================================================================
   Team page
   ========================================================================== */
.team {
  padding-block: 80px;
}

.team__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.team__group {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.team__group-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.2;
  color: #000;
}

.team .divider-dashed {
  border-top-style: dashed;
  border-color: rgba(18, 18, 18, 0.2);
}

.member-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.member {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 16px;
  border: 1px solid #9f9f9f;
  margin-left: -1px;
  background: #fff;
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.member:first-child {
  margin-left: 0;
}

.member:hover {
  position: relative;
  z-index: 1;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

.member__photo {
  height: 344px;
  overflow: hidden;
  background: #e1e4e9;
}

.member__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.6s var(--ease);
}

.member:hover .member__photo img {
  transform: scale(1.04);
}

.member__info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.member__name {
  font-family: var(--font-satoshi);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.2;
}

.member__role {
  font-family: var(--font-satoshi);
  font-size: 16px;
  line-height: 1.4;
  color: var(--ink-60);
}

/* ==========================================================================
   Reveal animation
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--delay, 0s);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1280px) {
  :root {
    --gutter: 48px;
  }

  .nav {
    gap: 22px;
  }

  .why-row__media {
    flex-basis: 420px;
  }

  .profile__grid {
    grid-template-columns: 420px minmax(0, 1fr);
  }

  .profile--reverse .profile__grid {
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 48px;
  }

  .portrait__frame img {
    width: 80%;
    height: 94%;
  }

  .portrait__frame--fill img {
    width: 100%;
    height: 100%;
  }
}

@media (max-width: 1160px) {
  /* Mobile navigation */
  .nav-toggle {
    display: block;
  }

  .header-cta {
    display: none;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(340px, 86vw);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 96px 28px 32px;
    background: var(--teal);
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.25);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.4s var(--ease), visibility 0.4s;
    overflow-y: auto;
  }

  .nav a {
    width: 100%;
    padding-block: 12px;
    font-size: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .nav a::after {
    display: none;
  }

  .nav a.is-active {
    color: var(--accent);
  }

  .nav .nav-cta-mobile {
    display: inline-flex;
    width: auto;
    margin-top: 20px;
    padding: 0 36px;
    border: 0;
    color: var(--ink);
  }

  .nav-open .nav {
    transform: none;
    visibility: visible;
  }

  .nav-toggle {
    z-index: 2;
  }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 99;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
  }

  .nav-open .nav-backdrop {
    opacity: 1;
    visibility: visible;
  }

  body.nav-open {
    overflow: hidden;
  }

  /* backdrop-filter would make the header the containing block of the fixed drawer */
  .nav-open .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .about__grid,
  .profile__grid,
  .profile--reverse .profile__grid,
  .faq__grid,
  .contact__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .profile--reverse .profile__aside {
    order: 0;
  }

  .about__media .section-title {
    max-width: none;
  }

  .approach__row {
    flex-direction: column;
    gap: 24px;
  }

  .steps {
    width: 100%;
  }

  .approach .dots:not(.dots--blue) {
    width: 200px;
    height: 130px;
    right: 24px;
  }

  .approach .dots--blue {
    width: 160px;
    height: 80px;
    left: 24px;
  }

  .serve .dots {
    width: 200px;
    height: 170px;
    right: 32px;
  }

  .serve__inner {
    gap: 80px;
  }

  .why-row,
  .why-row--reverse {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
  }

  .why-row__content {
    flex-basis: auto;
  }

  .why-row__media {
    flex-basis: auto;
    max-width: 560px;
    width: 100%;
  }

  .why__rows {
    gap: 48px;
  }

  /* Stack the FAQ on mobile as: heading → questions → help block.
     display:contents lets the intro's children + the accordion be reordered. */
  .faq__intro {
    display: contents;
  }

  .faq__intro-top { order: 1; }
  .faq__grid > .accordion { order: 2; }
  .faq__help { order: 3; }

  .faq .dots--blue {
    display: none;
  }

  .offices__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 32px;
  }

  .office:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .form-card {
    max-width: 680px;
  }

  .footer__main {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .footer__links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px 32px;
  }

  .member-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .member {
    margin-top: -1px;
  }

  .member:nth-child(odd) {
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  :root {
    --gutter: 16px;
    --header-h: 72px;
  }

  .site-header.is-scrolled {
    --header-h: 64px;
  }

  .brand img {
    width: 116px;
  }

  .section,
  .about,
  .approach,
  .profile,
  .why,
  .expertise,
  .faq,
  .contact,
  .team {
    padding-block: 56px;
  }

  .serve {
    padding: 72px 0 56px;
  }

  .hero {
    min-height: 640px;
  }

  .hero::after {
    width: 100%;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .hero--compact {
    min-height: 480px;
  }

  .hero__lead,
  .lead,
  .faq__sub,
  .cta p {
    font-size: 17px;
  }

  .btn--lg,
  .btn--light {
    height: 54px;
    font-size: 17px;
    padding: 0 28px;
  }

  .about__img {
    height: 300px;
  }

  .prose p {
    font-size: 16px;
  }

  .stat__value {
    font-size: 34px;
  }

  .stat {
    gap: 10px;
  }

  .marquee {
    height: 60px;
  }

  .marquee__item {
    font-size: 20px;
  }

  .steps,
  .serve__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .step:nth-child(4) {
    grid-column-start: auto;
  }

  .approach .dots:not(.dots--blue) {
    width: 130px;
    height: 90px;
    right: -24px;
    bottom: -16px;
  }

  .approach .dots--blue {
    width: 120px;
    height: 80px;
    top: -24px;
    left: -24px;
  }

  .serve .dots {
    width: 140px;
    height: 110px;
    top: -20px;
    right: -20px;
  }

  .step {
    gap: 24px;
  }

  .portrait__frame {
    height: 400px;
  }

  .portrait__badge {
    top: 320px;
    height: 46px;
    padding: 0 24px;
  }

  .serve__inner {
    gap: 48px;
  }

  .serve-card {
    gap: 24px;
  }

  .why-row__content {
    gap: 28px;
  }

  .why-row__text {
    font-size: 16px;
  }

  .expertise__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .area:nth-last-child(2) {
    border-bottom: 0;
  }

  .accordion__trigger,
  .accordion__item.is-open .accordion__trigger {
    font-size: 18px;
    padding: 16px;
  }

  .accordion__panel p {
    padding: 0 16px 20px;
  }

  .offices__grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 24px;
  }

  .office,
  .office + .office {
    border-left: 0;
    padding-inline: 0;
  }

  .office + .office {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
  }

  .contact__details {
    column-gap: 40px;
  }

  .detail__value {
    font-size: 18px;
    word-break: break-word;
  }

  .cta {
    min-height: 440px;
    padding: 56px 16px;
  }

  .cta .dots {
    display: none;
  }

  .footer__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }

  .footer__bottom {
    margin-inline: 16px;
  }

  .footer__bottom .container {
    flex-direction: column;
    align-items: flex-start;
    padding-inline: 0;
  }

  .footer__copy {
    font-size: 16px;
  }

  .member-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .member,
  .member:first-child {
    margin-left: 0;
  }

  .member-grid--single {
    max-width: none;
  }
}

@media (max-width: 480px) {
  .stats {
    flex-wrap: wrap;
  }

  .stat {
    flex: 1 1 40%;
  }

  .portrait__frame {
    height: 360px;
    margin-inline: 0 12px;
  }

  .portrait__badge {
    top: 290px;
    font-size: 15px;
  }

  .why-row__title {
    font-size: 26px;
  }

  .checklist__title {
    align-items: flex-start;
  }
}

/* ==========================================================================
   Team member profile pages
   ========================================================================== */
.profile-back {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-60);
  transition: color 0.2s;
}

.profile-back:hover {
  color: var(--primary-600);
}

.profile--top {
  padding-top: calc(var(--header-h) + 80px);
}

/* Keep the portrait visible while the (long) bio scrolls on profile pages. */
.profile--top .profile__aside {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.profile-detail {
  padding-block: 48px 80px;
}

.profile-detail--alt {
  padding-block: 80px;
  background: var(--surface-muted);
}

.profile-detail__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px 60px;
}

/* Space the grid from a preceding section heading (matches other grids) */
.section-head + .profile-detail__grid {
  margin-top: 48px;
}

.profile-block {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.profile-block__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.dot-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dot-list li {
  position: relative;
  padding-left: 20px;
  font-size: 17px;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--ink-80);
}

.dot-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

.edu-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.edu-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 20px;
  border-top: 1px dashed var(--ink-30);
}

.edu-list li:first-child {
  padding-top: 0;
  border-top: 0;
}

.edu-list strong {
  font-weight: 600;
  font-size: 17px;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.edu-list span {
  font-size: 16px;
  line-height: 1.4;
  color: var(--ink-60);
}

.achv-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 48px;
  margin-top: 44px;
}

.achv-list li {
  position: relative;
  padding-left: 26px;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: var(--ink-80);
}

.achv-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--accent);
}

.member__link {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-family: var(--font-satoshi);
  font-weight: 700;
  font-size: 15px;
  color: var(--primary-600);
}

.member__link::after {
  content: "\2192";
  transition: transform 0.25s var(--ease);
}

.member:hover .member__link::after,
.member__link:hover::after {
  transform: translateX(4px);
}

@media (max-width: 1100px) {
  /* Single-column profile layout: the portrait no longer needs to stick. */
  .profile--top .profile__aside {
    position: static;
  }
}

@media (max-width: 900px) {
  .profile-detail__grid,
  .achv-list {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .profile--top {
    padding-top: calc(var(--header-h) + 48px);
  }

  .profile-detail {
    padding-block: 32px 56px;
  }

  .profile-detail--alt {
    padding-block: 56px;
  }
}

@media (max-width: 560px) {
  .form {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ==========================================================================
   Business Areas page
   ========================================================================== */
.biz {
  position: relative;
  padding-block: 100px;
  background: var(--surface);
}

.biz__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 56px;
}

.biz-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 32px 28px 28px;
  border: 1px solid var(--ink-12);
  border-radius: var(--radius);
  background: #fff;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}

.biz-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1);
}

.biz-card__num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--primary);
}

.biz-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.biz-card__text {
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: var(--ink-70);
}

.biz-card__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px dashed var(--ink-30);
}

.biz-card__list li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--ink-80);
}

.biz-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
}

@media (max-width: 1100px) {
  .biz__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .biz {
    padding-block: 64px;
  }

  .biz__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    margin-top: 40px;
  }
}

/* ==========================================================================
   Project Portfolio page
   ========================================================================== */
.pp {
  position: relative;
  padding-block: 100px;
  background: var(--surface);
}

.pp--alt {
  background: var(--surface-muted);
}

.pp-cats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.pp-cat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 24px;
  border: 1px solid var(--ink-12);
  border-radius: var(--radius);
  background: #fff;
}

.pp-cat__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.pp-cat__text {
  font-size: 15px;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--ink-70);
}

.pp-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 56px;
}

/* Empty-state message shown when a filter tab has no matching projects */
.filter-empty {
  grid-column: 1 / -1;
  padding: 48px 24px;
  border: 1px dashed var(--ink-12);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.02);
  color: var(--ink-60, #555);
  text-align: center;
  font-size: 1.02rem;
}

.filter-empty[hidden] {
  display: none;
}

.pp-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px 28px;
  border: 1px solid var(--ink-12);
  border-radius: var(--radius);
  background: #fff;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}

.pp-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1);
}

.pp-card.is-hidden {
  display: none;
}

.pp-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.pp-card__sl {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  background: rgba(0, 164, 213, 0.1);
  color: var(--primary-600);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
}

.pp-card__badge {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  background: rgba(0, 164, 213, 0.1);
  font-size: 13px;
  font-weight: 500;
  color: var(--primary-600);
  white-space: nowrap;
}

.pp-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.pp-card__meta {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink-60);
}

.pp-card__text {
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: var(--ink-70);
}

.pp-card__role {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px dashed var(--ink-30);
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink-80);
}

.pp-card__role strong {
  font-weight: 600;
  color: var(--ink);
}

.pp-table-wrap {
  margin-top: 56px;
  border: 1px solid var(--ink-12);
  border-radius: var(--radius);
  overflow-x: auto;
  background: #fff;
}

.pp-table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
}

.pp-table th {
  padding: 18px 20px;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  text-align: left;
  white-space: nowrap;
}

.pp-table td {
  padding: 18px 20px;
  border-top: 1px solid var(--ink-12);
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink-80);
  vertical-align: top;
}

.pp-table tbody tr:hover {
  background: #f5fafc;
}

.pp-table td:first-child {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--primary);
}

@media (max-width: 1100px) {
  .pp-cats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .pp-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .pp {
    padding-block: 64px;
  }

  .pp-cats {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 36px;
  }

  .pp-grid {
    gap: 20px;
    margin-top: 40px;
  }

  .pp-table-wrap {
    margin-top: 40px;
  }
}

/* ==========================================================================
   Insights & Publications page
   ========================================================================== */
.ins {
  position: relative;
  padding-block: 100px;
  background: var(--surface);
}

.ins-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

.ins-filter__btn {
  height: 40px;
  padding: 0 20px;
  border: 1px solid var(--ink-12);
  border-radius: var(--radius-pill);
  background: #fff;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-70);
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.ins-filter__btn:hover {
  border-color: var(--primary);
  color: var(--primary-600);
}

.ins-filter__btn.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.ins-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.ins-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 26px;
  border: 1px solid var(--ink-12);
  border-radius: var(--radius);
  background: #fff;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}

.ins-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1);
}

.ins-card.is-hidden {
  display: none;
}

.ins-card__tag {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  background: rgba(0, 164, 213, 0.1);
  color: var(--primary-600);
  font-size: 13px;
  font-weight: 500;
}

.ins-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.ins-card__text {
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: var(--ink-70);
}

.ins-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px dashed var(--ink-30);
  font-size: 14px;
  color: var(--ink-60);
}

.ins-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  color: var(--primary-600);
}

.ins-card__link::after {
  content: "\2192";
  transition: transform 0.25s var(--ease);
}

/* Stretched link: make the whole card clickable while keeping one real link */
.ins-card__link::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.ins-card:hover .ins-card__link::after {
  transform: translateX(4px);
}

@media (max-width: 1100px) {
  .ins-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .ins {
    padding-block: 64px;
  }

  .ins-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    margin-top: 36px;
  }
}

/* ==========================================================================
   Resources page
   ========================================================================== */
.res {
  position: relative;
  padding-block: 100px;
  background: var(--surface);
}

.res--alt {
  background: var(--surface-muted);
}

.res-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 56px;
}

.res-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 32px 28px;
  border: 1px solid var(--ink-12);
  border-radius: var(--radius);
  background: #fff;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}

.res-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1);
}

.res-card__num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--primary);
}

.res-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.res-card__text {
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: var(--ink-70);
}

.res-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px dashed var(--ink-30);
}

.res-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  color: var(--primary-600);
}

.res-card__link::after {
  content: "\2192";
  transition: transform 0.25s var(--ease);
}

.res-card:hover .res-card__link::after {
  transform: translateX(4px);
}

.res-card__link--download::after {
  display: none;
}

.res-card__link svg {
  flex: 0 0 auto;
}

.res-card__status {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-60);
}

.dl-list {
  margin-top: 48px;
  border: 1px solid var(--ink-12);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.dl-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 28px;
}

.dl-item + .dl-item {
  border-top: 1px solid var(--ink-12);
}

.dl-item__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.3;
}

.dl-item__meta {
  margin-top: 4px;
  font-size: 14px;
  color: var(--ink-60);
}

.dl-item__btn {
  flex-shrink: 0;
}

.dl-item__btn--muted {
  background: var(--surface-soft);
  color: var(--ink-40);
  pointer-events: none;
}

@media (max-width: 1100px) {
  .res-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .res {
    padding-block: 64px;
  }

  .res-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    margin-top: 36px;
  }

  .dl-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* ==========================================================================
   Legal pages (Privacy Policy / Terms & Conditions)
   ========================================================================== */
.legal {
  padding-block: 100px;
  background: var(--surface);
}

.legal__inner {
  max-width: 840px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.legal__inner h2 {
  margin-top: 20px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.legal__inner h2:first-child {
  margin-top: 0;
}

.legal__inner h3 {
  margin-top: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.3;
}

.legal__inner p,
.legal__inner li {
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: -0.01em;
  color: var(--ink-80);
}

.legal__inner ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 22px;
  list-style: disc;
}

.legal__inner a {
  color: var(--primary-600);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal__meta {
  font-size: 15px;
  color: var(--ink-60);
}

@media (max-width: 768px) {
  .legal {
    padding-block: 64px;
  }

  .legal__inner p,
  .legal__inner li {
    font-size: 16px;
  }
}
