:root {
  --brand-blue: #1f4390;
  --text-dark: #303235;
  --panel-bg: rgba(251, 251, 251, 0.88);
  --nav-bg: rgba(255, 255, 255, 0.92);
  --line: rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: Arial, sans-serif;
  color: var(--text-dark);
}

body {
  background: #f6f4f0;
}

.site-main {
  background: #f6f4f0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--nav-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-shell {
  width: min(1200px, 92%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
}

.brand {
  width: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  animation: diLogoSlideIn 680ms ease-out both;
}

.brand img {
  width: 100%;
  display: block;
}

@keyframes diLogoSlideIn {
  0% {
    opacity: 0;
    transform: translateX(-44px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand {
    animation: none;
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 36px);
  flex-wrap: wrap;
  justify-content: center;
}

.nav-links a {
  color: #2e2f33;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--brand-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-blue);
  color: #fff;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  color: #222;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}

.hero-landing {
  min-height: 100vh;
  padding-top: 110px;
  display: flex;
  align-items: flex-start;
  background-image: url("../assets/hero-bg.jpg");
  background-size: cover;
  background-position: center calc(50% - 3cm);
  background-repeat: no-repeat;
  margin-bottom: 0;
}

.hero-panel-wrap {
  padding: clamp(34px, 7vh, 80px) 0 80px 30px;
  transform: translateX(5cm);
}

.hero-panel {
  width: min(380px, calc(100vw - 44px));
  min-height: min(620px, 62vh);
  background: var(--panel-bg);
  padding: 72px 58px 60px;
  color: var(--brand-blue);
  box-shadow: 0 26px 60px rgba(27, 45, 84, 0.18);
}

.hero-panel h1 {
  margin: 0;
  font-family: Arial, sans-serif;
  font-weight: 400;
  font-size: clamp(40px, 4.2vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.01em;
}

.hero-panel p {
  margin: 26px 0 0;
  color: #3f3f3f;
  font-family: Arial, sans-serif;
  font-size: clamp(16px, 1.4vw, 24px);
  line-height: 1.3;
  font-weight: 400;
  max-width: 16ch;
}

.hero-panel .hero-subtitle {
  margin-top: 20px;
  color: #8a8f99;
  font-size: clamp(13px, 0.95vw, 15px);
  line-height: 1.55;
  font-weight: 200;
  letter-spacing: 0.015em;
  max-width: 42ch;
  white-space: pre-line;
}

.logo-strip {
  background: #ffffff;
  padding: 12px 0 26px;
  border-bottom: 1px solid var(--line);
}

.logo-strip .container {
  width: 100%;
  max-width: none;
  padding: 0 12px;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  align-items: center;
  justify-items: center;
  width: 100%;
  max-width: none;
  padding: 0 24px;
}

.logo-grid a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 72px;
  padding: 6px 4px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.logo-grid a:hover {
  transform: translateY(-2px);
  opacity: 0.85;
}

.logo-grid img {
  width: auto;
  max-width: 90%;
  height: auto;
  max-height: 70px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.8;
}

.home-about {
  background: #ffffff;
  padding: 30px 0 0;
}

.home-about h2 {
  text-align: center;
  font-size: 26px;
  margin: 0 0 20px;
  color: #2c2f34;
}

.home-about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 420px;
}

.home-about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-about-panel {
  background: #6a7391;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.home-about-card {
  background: #ffffff;
  padding: 32px 28px;
  border-radius: 4px;
  text-align: center;
  max-width: 420px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

.home-about-card p {
  margin: 0 0 22px;
  color: #4e525b;
  line-height: 1.6;
}

.home-about-card a {
  color: var(--brand-blue);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid var(--brand-blue);
  padding-bottom: 4px;
}

.home-stats {
  background: #ffffff;
  padding: 26px 0 40px;
  border-top: 1px solid #eceef4;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: center;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: center;
  text-align: left;
}

.stat-card img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.stat-card h3 {
  margin: 0;
  font-size: 24px;
  color: #2c2f34;
}

.stat-card p {
  margin: 4px 0 0;
  color: #6a6f7a;
}

.portfolio-strip {
  background: #ffffff;
  padding: 40px 0 60px;
}

.portfolio-strip h2 {
  text-align: center;
  margin: 0 0 26px;
  font-size: 24px;
  color: #2c2f34;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border: 1px solid #eef0f5;
}

.portfolio-grid a,
.portfolio-grid .portfolio-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 12px;
  border-right: 1px solid #eef0f5;
  border-bottom: 1px solid #eef0f5;
}

.portfolio-grid a:nth-child(6n),
.portfolio-grid .portfolio-item:nth-child(6n) {
  border-right: none;
}

.portfolio-grid a img,
.portfolio-grid .portfolio-item img {
  max-width: 150px;
  max-height: 64px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.85;
}

.portfolio-grid a {
  text-decoration: none;
}

.portfolio-grid a:hover img {
  opacity: 1;
  filter: none;
}

.portfolio-grid .no-link {
  background: #ffffff;
}

.portfolio-cta {
  text-align: center;
  margin-top: 26px;
}

.portfolio-cta a {
  color: var(--brand-blue);
  text-decoration: none;
  font-size: 18px;
  letter-spacing: 0.08em;
  border-bottom: 2px solid var(--brand-blue);
  padding-bottom: 6px;
  font-weight: 600;
}

.blogs {
  background: #ffffff;
  padding: 50px 0 70px;
  border-top: 1px solid #eceef4;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px 28px;
  margin-top: 20px;
}

.blog-card {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 16px;
  align-items: start;
}

.blog-image {
  background: linear-gradient(135deg, #e5e9f2, #f5f6f9);
  min-height: 150px;
}

.blog-image,
.news-thumb {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.blog-body h3 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.4;
  color: #1f2b4d;
}

.blog-body p {
  margin: 0;
  color: #626772;
  line-height: 1.6;
}

.blog-cta {
  text-align: center;
  margin-top: 26px;
}

.blog-cta a {
  color: var(--brand-blue);
  text-decoration: none;
  font-size: 18px;
  letter-spacing: 0.08em;
  border-bottom: 2px solid var(--brand-blue);
  padding-bottom: 6px;
  font-weight: 600;
}

.home-team {
  background: #ffffff;
  padding: 30px 0 50px;
}

.home-team-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 360px;
}

.home-team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-team-panel {
  background: #6a7391;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.home-team-card {
  background: #ffffff;
  padding: 32px 28px;
  border-radius: 4px;
  text-align: center;
  max-width: 460px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

.home-team-card p {
  margin: 0 0 22px;
  color: #4e525b;
  line-height: 1.6;
}

.home-team-card a {
  color: var(--brand-blue);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid var(--brand-blue);
  padding-bottom: 4px;
}


.section {
  padding: 80px 0;
  background: #f6f4f0;
}

.section:nth-of-type(even) {
  background: #ffffff;
}

.page-hero {
  padding: 120px 0 60px;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: 600;
}

.simple-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.simple-grid h3 {
  margin-top: 0;
}

.careers-page {
  background: #f8f9fb;
}

.careers-hero {
  background: #ffffff;
}

.careers-section h2 {
  margin-bottom: 22px;
}

.job-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 10px 24px rgba(25, 35, 66, 0.08);
  margin-bottom: 26px;
}

.job-card h3 {
  color: var(--brand-blue);
  margin: 0 0 18px;
  font-size: 22px;
}

.job-grid {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(260px, 1.2fr) minmax(220px, 0.9fr);
  gap: 26px;
}

.job-grid h4 {
  margin: 0 0 10px;
  font-size: 16px;
  color: #2b2f3a;
}

.job-grid p {
  margin: 0;
  color: #5d616a;
}

.job-grid ol,
.job-grid ul {
  margin: 0;
  padding-left: 18px;
  color: #5d616a;
  display: grid;
  gap: 8px;
}

.apply-section {
  background: #ffffff;
}

.apply-card {
  display: grid;
  grid-template-columns: minmax(240px, 0.5fr) minmax(320px, 1fr);
  gap: 32px;
  align-items: start;
}

.apply-card h2 {
  margin-top: 0;
}

.apply-form {
  background: #f6f8fc;
  border-radius: 12px;
  padding: 22px;
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.apply-form label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  color: #4b4f59;
}

.apply-form input,
.apply-form select,
.apply-form textarea {
  border: 1px solid #d9dde7;
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
  background: #fff;
}

.upload-field input[type="file"] {
  padding: 8px;
}

.apply-form button {
  background: var(--brand-blue);
  color: #fff;
  border: none;
  padding: 12px 18px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  width: fit-content;
}

.team-page {
  background: #eef2fb;
}

.team-hero {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.6) 25%, rgba(255, 255, 255, 0.9) 25%, rgba(255, 255, 255, 0.9) 50%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0.6) 75%, rgba(255, 255, 255, 0.9) 75%),
    #eef2fb;
  padding: 120px 0 60px;
  text-align: center;
}

.team-hero-inner {
  max-width: 760px;
}

.team-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(34px, 4vw, 52px);
  color: var(--brand-blue);
  font-weight: 700;
}

.team-hero p {
  margin: 0 auto 26px;
  max-width: 620px;
  color: #7b7f88;
  font-size: 16px;
}

.team-tabs {
  display: inline-flex;
  gap: 10px;
  padding: 8px;
  background: #dde6ff;
  border-radius: 999px;
}

.team-tabs button {
  border: none;
  background: transparent;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: #1e2745;
}

.team-tabs button.active {
  background: var(--brand-blue);
  color: #fff;
}

.team-grid-section {
  padding-top: 40px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
}

.team-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(30, 42, 72, 0.12);
  overflow: hidden;
  display: grid;
}

.team-photo {
  height: 220px;
  background: linear-gradient(120deg, #d9dfea, #f4f6fb);
  overflow: hidden;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-card-body {
  padding: 14px 16px 18px;
}

.team-card h3 {
  margin: 0 0 6px;
  color: var(--brand-blue);
  font-size: 16px;
}

.team-card p {
  margin: 0;
  color: #7b7f88;
  font-size: 13px;
  line-height: 1.4;
}

.team-card {
  cursor: pointer;
}

.team-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.team-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 27, 44, 0.6);
}

.team-modal-dialog {
  position: relative;
  width: min(1120px, 96vw);
  max-height: calc(100vh - 48px);
  overflow: auto;
  background: #dfe6f4;
  border-radius: 12px;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.28);
  padding: 34px 34px 30px;
}

.team-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 999px;
  background: #ffffff;
  color: #1f4390;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.team-modal-layout {
  display: grid;
  grid-template-columns: 430px 1fr;
  gap: 32px;
  align-items: start;
}

.team-modal-media {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
}

.team-modal-media img {
  width: 100%;
  display: block;
  height: auto;
}

.team-modal-content h3 {
  margin: 0 0 8px;
  font-size: 50px;
  line-height: 1.04;
  color: #1f4390;
}

.team-modal-content > p {
  margin: 0 0 20px;
  color: #1f4390;
  font-size: 20px;
}

#team-modal-bio {
  background: #d0d8e8;
  padding: 22px;
  color: #2f3135;
  font-size: 19px;
  line-height: 1.45;
}

#team-modal-bio p {
  margin: 0 0 18px;
}

#team-modal-bio p:last-child {
  margin-bottom: 0;
}

body.team-modal-open {
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

.news-page {
  background: #f7f8fb;
}

.news-hero {
  background: #ffffff;
}

.news-hero-inner {
  max-width: 760px;
}

.featured-news {
  padding-top: 40px;
}

.news-feature-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 26px;
}

.news-side {
  display: grid;
  gap: 18px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.news-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(25, 35, 66, 0.08);
  overflow: hidden;
  display: grid;
}

.news-card.featured {
  grid-template-columns: 1fr 1fr;
  min-height: 320px;
}

.news-card.compact {
  padding: 18px;
}

.news-thumb {
  min-height: 180px;
  background: linear-gradient(130deg, #dde3f2, #f5f7fb);
}

.news-card.featured .news-thumb {
  min-height: 100%;
}

.news-body {
  padding: 18px 20px 20px;
  display: grid;
  gap: 10px;
}

.news-tag {
  margin: 0;
  color: var(--brand-blue);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-card h3 {
  margin: 0;
  font-size: 18px;
  color: #1f2b4d;
}

.news-card p {
  margin: 0;
  color: #616671;
  font-size: 14px;
  line-height: 1.5;
}

.news-meta {
  font-size: 12px;
  color: #9096a2;
}

.news-eyebrow {
  margin: 0 0 22px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 600;
  color: #7b8190;
}

.news-pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.news-pagination button {
  border: 1px solid #d7dbe6;
  background: #fff;
  color: #1f2b4d;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
}

.news-pagination button.active {
  background: var(--brand-blue);
  color: #fff;
  border-color: var(--brand-blue);
}

.about-page {
  background: #ffffff;
}

.about-hero {
  padding: 120px 0 80px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: start;
}

.about-image {
  background: #f0f0f0;
  opacity: 0;
  transform: translateX(-24px);
  animation: slideInLeft 0.8s ease forwards;
}

.about-image img {
  width: 100%;
  display: block;
  filter: grayscale(1);
}

.about-content h1 {
  margin: 0 0 18px;
  font-size: clamp(32px, 3.6vw, 44px);
  color: #111;
}

.about-content {
  opacity: 0;
  transform: translateX(24px);
  animation: slideInRight 0.8s ease 0.12s forwards;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.about-content p {
  margin: 0 0 18px;
  color: #5b5f67;
  line-height: 1.7;
}

.about-link {
  display: inline-block;
  margin-top: 6px;
  color: var(--brand-blue);
  text-decoration: none;
  border-bottom: 2px solid var(--brand-blue);
  padding-bottom: 4px;
}

.investment-section {
  padding: 40px 0 90px;
  background: #ffffff;
}

.investment-card {
  background: #ffffff;
  border: 1px solid #e6e8ef;
  box-shadow: 0 18px 40px rgba(25, 35, 66, 0.08);
  border-radius: 8px;
  overflow: hidden;
}

.investment-image img {
  width: 100%;
  display: block;
}

.investment-body {
  padding: 28px 36px 36px;
}

.investment-body h2 {
  margin: 0 0 18px;
  display: inline-block;
  background: #2d4a91;
  color: #fff;
  padding: 10px 22px;
  font-size: 20px;
}

.investment-body p {
  margin: 0 0 14px;
  color: #5b5f67;
  line-height: 1.7;
}

.investment-body ul {
  margin: 0 0 16px;
  padding-left: 20px;
  color: #5b5f67;
  display: grid;
  gap: 8px;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.container {
  width: min(1100px, 90%);
  margin: 0 auto;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-blue);
  margin: 0 0 12px;
}

.section h2 {
  font-family: Arial, sans-serif;
  font-size: clamp(28px, 3vw, 42px);
  margin: 0 0 16px;
}

.lead {
  font-size: 18px;
  line-height: 1.6;
  margin: 0;
  color: #4b4f56;
}

.split {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
}

.services .grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.services article {
  background: #fff;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 16px 40px rgba(26, 40, 72, 0.1);
}

.services h3 {
  margin-top: 0;
  font-size: 20px;
}

.team .stack {
  display: grid;
  gap: 18px;
}

.team h4 {
  margin: 0 0 6px;
  font-size: 18px;
}

.insights .cards {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.insights article {
  padding: 20px;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
}

.section.contact {
  padding: 90px 0 120px;
  background: var(--brand-blue);
  color: #fff;
}

.site-footer {
  background: var(--brand-blue);
  color: #fff;
  text-align: center;
  padding: 18px 0 28px;
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}
.newsletter {
  background: #fff;
  border-top: 1px solid var(--line);
}

.newsletter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 0;
}

.newsletter-row h3 {
  font-family: Arial, sans-serif;
  font-size: clamp(24px, 3vw, 34px);
  margin: 0;
  color: var(--brand-blue);
}

.newsletter-form {
  display: flex;
  align-items: center;
  border: 1px solid var(--brand-blue);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

.newsletter-form input {
  border: none;
  padding: 12px 16px;
  min-width: 240px;
  font-size: 14px;
}

.newsletter-form button {
  border: none;
  background: var(--brand-blue);
  color: #fff;
  padding: 12px 22px;
  font-weight: 600;
  cursor: pointer;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-info h2 {
  font-family: Arial, sans-serif;
  font-size: clamp(28px, 3.2vw, 40px);
  margin: 0 0 12px;
}

.contact-info p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.6;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 22px;
  display: grid;
  gap: 10px;
  color: #fff;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-list li a {
  color: #ffffff;
  text-decoration: none;
}

.contact-list li a:hover {
  text-decoration: underline;
}

.contact-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}

.contact-info .footnote {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}

.contact-form {
  background: #fff;
  color: #1f2440;
  padding: 28px;
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.16);
  display: grid;
  gap: 14px;
}

.contact-form h3 {
  margin: 0 0 6px;
  color: var(--brand-blue);
  font-size: 22px;
}

.contact-form label {
  font-size: 12px;
  color: #555c6a;
  display: grid;
  gap: 6px;
}

.contact-form input,
.contact-form textarea {
  border: none;
  border-bottom: 1px solid #d5d5d5;
  padding: 8px 2px 10px;
  font-size: 14px;
  font-family: inherit;
}

.contact-form button {
  border: none;
  background: var(--brand-blue);
  color: #fff;
  padding: 12px 18px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  width: fit-content;
}

.contact-form button[disabled],
.apply-form button[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
}

.contact-form .form-status,
.apply-form .form-status {
  margin: 2px 0 0;
  font-size: 13px;
  display: none;
}

.contact-form .form-status.visible,
.apply-form .form-status.visible {
  display: block;
}

.contact-form .form-status.success,
.apply-form .form-status.success {
  color: #0f7a39;
}

.contact-form .form-status.error,
.apply-form .form-status.error {
  color: #c92a2a;
}

@media (max-width: 1100px) {
  .hero-panel {
    width: min(360px, calc(100vw - 36px));
    min-height: 520px;
    padding: 50px 38px;
  }

  .services .grid,
  .insights .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .news-feature-grid {
    grid-template-columns: 1fr;
  }

  .news-card.featured {
    grid-template-columns: 1fr;
  }

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

  .logo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .home-about-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .stat-card {
    justify-content: center;
  }

  .portfolio-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-team-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 900px) {
  .nav-shell {
    flex-wrap: wrap;
  }

  .hero-panel-wrap {
    transform: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    width: 100%;
    padding: 12px 0 6px;
    gap: 16px;
    justify-content: flex-start;
  }

  .nav-links.open {
    display: flex;
    flex-wrap: wrap;
  }

  .nav-actions {
    margin-left: auto;
  }

  .hero-panel-wrap {
    padding: 28px 0 30px 16px;
  }

  .hero-panel {
    min-height: auto;
    padding: 34px 24px;
  }

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

  .services .grid,
  .insights .cards {
    grid-template-columns: 1fr;
  }

  .newsletter-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .newsletter-form {
    width: 100%;
  }

  .newsletter-form input {
    flex: 1;
    min-width: 0;
  }

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

  .apply-card,
  .form-row {
    grid-template-columns: 1fr;
  }

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

  .logo-grid {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    gap: 20px;
    padding-bottom: 6px;
  }
}

@media (max-width: 520px) {
  .brand {
    width: 54px;
  }

  .nav-cta {
    padding: 8px 14px;
  }

  .hero-landing {
    background-position: 56% center;
  }

  .hero-panel {
    padding: 26px 20px;
    width: calc(100vw - 24px);
    margin-right: 12px;
  }

  .hero-panel h1 {
    font-size: 48px;
    line-height: 0.98;
  }

  .hero-panel p {
    margin-top: 20px;
    font-size: 24px;
    max-width: 100%;
  }

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

  .investment-body {
    padding: 22px 20px 26px;
  }

  .home-about h2 {
    font-size: 22px;
  }

  .home-about-card {
    padding: 24px 20px;
  }

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

  .home-team-card {
    padding: 24px 20px;
  }

  .blog-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1100px) {
  .team-modal-layout {
    grid-template-columns: 1fr;
  }

  .team-modal-media {
    max-width: 460px;
  }

  .team-modal-content h3 {
    font-size: 40px;
  }
}

@media (max-width: 700px) {
  .team-modal {
    padding: 14px;
  }

  .team-modal-dialog {
    max-height: calc(100vh - 28px);
    padding: 16px 16px 18px;
  }

  .team-modal-close {
    top: 8px;
    right: 8px;
  }

  .team-modal-content h3 {
    font-size: 30px;
    padding-right: 36px;
  }

  .team-modal-content > p {
    font-size: 17px;
  }

  #team-modal-bio {
    font-size: 16px;
    padding: 16px;
  }
}

.portfolio-page {
  background: #ececee;
}

.portfolio-archive-section {
  padding-top: 92px;
  padding-bottom: 56px;
}

.portfolio-archive-section .container {
  width: min(1500px, 88%);
}

.portfolio-archive-shell {
  background: #f4f4f6;
  border: 1px solid #e4e4e8;
  padding: 32px 32px 38px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.portfolio-archive-shell h1 {
  margin: 0 0 12px;
  color: #1f4390;
  font-size: clamp(28px, 2.8vw, 36px);
  line-height: 1.1;
}

.portfolio-country-select-wrap {
  margin-bottom: 22px;
}

.portfolio-country-select-wrap select {
  width: 100%;
  height: 50px;
  border: 1px solid #dfe1e6;
  background: #ffffff;
  color: #1f4390;
  font-family: Arial, sans-serif;
  font-size: clamp(15px, 1.25vw, 19px);
  font-weight: 600;
  padding: 0 42px 0 14px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.portfolio-category-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  padding: 4px 0 18px;
  border-bottom: 1px solid #ededf0;
}

.portfolio-category-tabs button {
  border: none;
  background: transparent;
  color: #7a7b80;
  font-size: clamp(14px, 1.1vw, 17px);
  font-family: Arial, sans-serif;
  padding: 0 0 6px;
  border-bottom: 2px solid transparent;
  cursor: pointer;
}

.portfolio-category-tabs button.active {
  color: #1f4390;
  border-color: #1f4390;
}

.portfolio-category-tabs button[data-portfolio-filter="social-consumer-internet"] {
  flex-basis: 100%;
  text-align: center;
}

.portfolio-archive-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-left: 1px solid #ececef;
  border-top: 1px solid #ececef;
  margin-top: 16px;
}

.portfolio-card {
  min-height: 196px;
  border-right: 1px solid #ececef;
  border-bottom: 1px solid #ececef;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 14px;
}

.portfolio-card img {
  max-width: 84%;
  width: auto;
  max-height: 78px;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.86;
  transition: opacity 0.2s ease;
}

.portfolio-card:hover img {
  opacity: 1;
}

.portfolio-empty {
  margin: 22px 0 0;
  color: #555963;
  text-align: center;
}

@media (max-width: 1300px) {
  .portfolio-archive-section .container {
    width: min(1320px, 92%);
  }

  .portfolio-archive-shell h1 {
    font-size: 34px;
  }

  .portfolio-country-select-wrap select {
    font-size: 18px;
    height: 50px;
  }

  .portfolio-category-tabs button {
    font-size: 16px;
  }

  .portfolio-archive-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .portfolio-archive-section {
    padding-top: 82px;
  }

  .portfolio-archive-shell {
    padding: 30px 24px 34px;
  }

  .portfolio-archive-shell h1 {
    font-size: 30px;
  }

  .portfolio-country-select-wrap select {
    font-size: 17px;
  }

  .portfolio-category-tabs button {
    font-size: 15px;
  }

  .portfolio-archive-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .portfolio-archive-section {
    padding-top: 76px;
  }

  .portfolio-country-select-wrap select {
    font-size: 15px;
    height: 46px;
  }

  .portfolio-category-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 14px;
  }

  .portfolio-category-tabs button[data-portfolio-filter="social-consumer-internet"] {
    flex-basis: auto;
  }

  .portfolio-category-tabs button {
    white-space: nowrap;
    font-size: 17px;
  }

  .portfolio-archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portfolio-card {
    min-height: 136px;
  }
}

@media (max-width: 440px) {
  .portfolio-archive-grid {
    grid-template-columns: 1fr;
  }
}

/* Consulting navigation dropdown */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.consulting-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: #f5f5f7;
  border: 1px solid #e3e5ea;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
  padding: 16px 0;
  z-index: 30;
}

.consulting-menu a {
  display: block;
  padding: 12px 18px;
  color: #1f4390;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
}

.consulting-menu a::after {
  display: none;
}

.consulting-menu a:hover {
  background: #e8edf9;
}

.nav-dropdown:hover .consulting-menu,
.nav-dropdown:focus-within .consulting-menu {
  display: block;
}

/* Consulting pages */
.consulting-page {
  background: #f4f5f8;
}

.consulting-hero {
  min-height: 56vh;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
}

.consulting-hero .container {
  padding: 130px 0 52px;
}

.consulting-hero h1 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: clamp(34px, 4vw, 56px);
}

.consulting-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  max-width: 760px;
  font-size: 18px;
  line-height: 1.55;
}

.consulting-block {
  background: #ffffff;
  border: 1px solid #e6e7eb;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.05);
}

.consulting-capabilities {
  padding: 40px;
}

.consulting-capabilities h2,
.consulting-subpages h2,
.service-approach h2,
.service-strengths h2 {
  margin: 0 0 18px;
  color: #1f4390;
  font-size: clamp(28px, 3vw, 42px);
}

.consulting-capabilities p {
  margin: 0;
  color: #4b4f56;
  line-height: 1.7;
}

.consulting-cap-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.consulting-cap-grid article {
  background: #f4f6fb;
  border: 1px solid #e2e6f1;
  padding: 20px 16px;
}

.consulting-cap-grid h3 {
  margin: 0 0 8px;
  color: #1f4390;
  font-size: 19px;
}

.consulting-cap-grid p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}

.consulting-subpages {
  margin-top: 32px;
  padding: 38px 40px 44px;
}

.consulting-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.consulting-service-card {
  background: #f7f8fb;
  border: 1px solid #e3e5ec;
  padding: 14px;
  display: grid;
  gap: 12px;
}

.consulting-service-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.consulting-service-card h3 {
  margin: 0;
  color: #1f4390;
  font-size: 24px;
}

.consulting-service-card p {
  margin: 0;
  color: #515661;
  font-size: 14px;
  line-height: 1.6;
}

.consulting-service-card a {
  color: #1f4390;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.service-detail-main {
  padding: 38px 0 0;
}

.service-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.service-summary img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.service-summary-body {
  background: #ffffff;
  border: 1px solid #e6e7ec;
  padding: 28px;
}

.service-summary-body h2 {
  margin: 0 0 14px;
  color: #1f4390;
  font-size: 34px;
}

.service-summary-body p {
  margin: 0;
  color: #4b4f56;
  line-height: 1.7;
}

.service-approach {
  padding: 34px 32px 36px;
}

.service-approach-grid,
.service-strengths-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.service-approach-grid article,
.service-strengths-grid article {
  background: #f6f8fc;
  border: 1px solid #e3e7f3;
  padding: 16px;
}

.service-approach-grid h3,
.service-strengths-grid h3 {
  margin: 0 0 8px;
  color: #1f4390;
  font-size: 18px;
}

.service-approach-grid p,
.service-strengths-grid p {
  margin: 0;
  color: #4d5260;
  font-size: 14px;
  line-height: 1.6;
}

.service-strengths {
  margin-top: 20px;
  padding: 30px 32px 36px;
}

.service-cta {
  margin-top: 18px;
  text-align: center;
}

.service-cta a {
  display: inline-block;
  background: #1f4390;
  color: #ffffff;
  text-decoration: none;
  padding: 11px 18px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
}

@media (max-width: 1100px) {
  .consulting-cap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

@media (max-width: 900px) {
  .nav-dropdown {
    width: 100%;
    display: block;
  }

  .consulting-menu {
    position: static;
    display: block;
    margin-top: 8px;
    box-shadow: none;
    border: 1px solid #e8e8ec;
    padding: 6px 0;
  }

  .consulting-menu a {
    font-size: 14px;
    padding: 10px 12px;
  }
}

@media (max-width: 700px) {
  .consulting-capabilities,
  .consulting-subpages,
  .service-approach,
  .service-strengths,
  .service-summary-body {
    padding: 24px 18px;
  }

  .consulting-service-grid,
  .service-approach-grid,
  .service-strengths-grid {
    grid-template-columns: 1fr;
  }

  .consulting-hero .container {
    padding-top: 100px;
  }
}

/* Mobile responsiveness hardening */
img,
picture,
svg,
video,
canvas {
  max-width: 100%;
}

html,
body {
  overflow-x: hidden;
}

@media (max-width: 900px) {
  .nav-shell {
    width: 94%;
    gap: 10px;
    padding: 10px 0;
  }

  .nav-links.open {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2px;
    background: #ffffff;
    border-top: 1px solid #e7e9ef;
    padding: 10px 0 8px;
  }

  .nav-links.open > a,
  .nav-links.open .nav-dropdown > a {
    padding: 10px 0;
  }

  .nav-dropdown {
    width: 100%;
  }

  .consulting-menu {
    margin-top: 2px;
  }

  .logo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 12px;
    padding: 0;
  }

  .logo-grid a {
    height: 76px;
    padding: 6px;
  }

  .logo-grid img {
    max-width: 100%;
    max-height: 64px;
  }

  .newsletter-row {
    padding: 24px 0;
    gap: 14px;
  }

  .newsletter-form {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .newsletter-form input {
    min-width: 0;
    width: 100%;
  }

  .contact-grid,
  .apply-card,
  .job-grid,
  .news-feature-grid,
  .home-about-grid,
  .home-team-grid,
  .about-grid,
  .service-summary,
  .form-row {
    grid-template-columns: 1fr;
  }

  .team-tabs {
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 6px;
  }

  .team-tabs button {
    flex: 0 0 auto;
    white-space: nowrap;
  }
}

@media (max-width: 768px) {
  .container {
    width: 92%;
  }

  .section {
    padding: 56px 0;
  }

  .page-hero {
    padding: 96px 0 42px;
  }

  .hero-landing {
    min-height: auto;
    padding-top: 84px;
    background-position: 56% 35%;
  }

  .hero-panel-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 18px 0 24px;
  }

  .hero-panel {
    width: calc(100% - 20px);
    min-height: auto;
    padding: 26px 20px;
  }

  .hero-panel h1 {
    font-size: clamp(42px, 11vw, 62px);
    line-height: 1;
  }

  .hero-panel p {
    margin-top: 18px;
    font-size: clamp(18px, 5vw, 24px);
    max-width: 100%;
  }

  .home-about {
    padding-top: 18px;
  }

  .home-about-panel,
  .home-team-panel,
  .about-content,
  .investment-body,
  .consulting-capabilities,
  .consulting-subpages,
  .service-approach,
  .service-strengths,
  .service-summary-body,
  .team-grid-section,
  .portfolio-archive-shell,
  .contact-form,
  .apply-form {
    padding: 20px;
  }

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

  .team-card {
    max-width: 420px;
    margin: 0 auto;
  }

  .portfolio-grid,
  .portfolio-archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portfolio-card,
  .portfolio-grid a,
  .portfolio-grid .portfolio-item {
    min-height: 120px;
  }

  .portfolio-card img,
  .portfolio-grid a img,
  .portfolio-grid .portfolio-item img {
    max-width: 88%;
    max-height: 56px;
  }

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

  .news-card.featured {
    grid-template-columns: 1fr;
  }

  .news-card.featured .news-thumb,
  .news-thumb {
    min-height: 180px;
  }

  .portfolio-category-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    gap: 12px;
    padding-bottom: 14px;
  }

  .portfolio-category-tabs button {
    white-space: nowrap;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .brand {
    width: 50px;
  }

  .nav-cta {
    font-size: 12px;
    padding: 7px 12px;
  }

  .menu-toggle {
    font-size: 12px;
    padding: 7px 12px;
  }

  .hero-panel {
    width: calc(100% - 12px);
    padding: 20px 14px;
  }

  .hero-panel h1 {
    font-size: clamp(38px, 12vw, 52px);
  }

  .hero-panel p {
    font-size: 18px;
    line-height: 1.35;
  }

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

  .logo-grid a {
    height: 72px;
  }

  .newsletter-form {
    grid-template-columns: 1fr;
  }

  .newsletter-form button {
    width: 100%;
  }

  .portfolio-grid,
  .portfolio-archive-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .home-about-card,
  .home-team-card {
    max-width: 100%;
    padding: 18px 14px;
  }

  .contact-form button,
  .apply-form button {
    width: 100%;
  }

  .contact-list li {
    align-items: flex-start;
  }

  .team-modal-dialog {
    width: 100%;
    padding: 12px;
  }
}

/* Hero to logo seam color fix */
.logo-strip {
  position: relative;
  z-index: 1;
  background: #ffffff;
}

.logo-strip::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 14px;
  background: #ffffff;
}
