/* List + detail pages — purpose-driven layouts (not one card pattern everywhere) */

.gt-page-hero {
  background: var(--gt-white);
  border-bottom: 1px solid rgba(22, 24, 58, 0.08);
  padding: calc(var(--gt-nav-h) + 48px) 0 48px;
}

.gt-page-hero .gt-heading-xl {
  max-width: 16ch;
}

.gt-page-hero .gt-text-lead,
.gt-page-hero .gt-text {
  margin-top: 18px;
  max-width: 640px;
}

.gt-page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.gt-list-section-head {
  margin-bottom: clamp(28px, 4vw, 40px);
  max-width: 640px;
}

.gt-list-section-head .gt-text {
  margin-top: 10px;
}

/* ── 1) Service pillars — screenshot-style color cards ── */
.gt-pillar-stack {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.gt-pillar {
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: 28px 24px 26px;
  background: var(--gt-indigo);
  border: none;
  border-radius: 8px;
  box-shadow: none;
  color: #ffffff;
}

.gt-pillar:nth-child(4n+2) { background: var(--gt-royal); }
.gt-pillar:nth-child(4n+3) { background: var(--gt-navy); }
.gt-pillar:nth-child(4n) { background: var(--gt-gold); color: var(--gt-ink); }

.gt-pillar-media {
  display: none;
}

.gt-pillar-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.gt-pillar-label {
  display: inline-block;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-transform: none;
  color: inherit;
  margin-bottom: 8px;
}

.gt-pillar:nth-child(4n+2) .gt-pillar-label,
.gt-pillar:nth-child(4n+3) .gt-pillar-label,
.gt-pillar:nth-child(4n) .gt-pillar-label { color: inherit; }

.gt-pillar-title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: inherit;
  opacity: 0.88;
  margin-bottom: 16px;
}

.gt-pillar-text {
  font-size: 14px;
  line-height: 1.55;
  color: inherit;
  opacity: 0.86;
  margin-bottom: 18px;
  flex: 1;
}

.gt-pillar-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.gt-pillar-chip {
  font-size: 12px;
  font-weight: 600;
  padding: 6px 11px;
  border-radius: 4px;
  color: var(--gt-indigo);
  background: var(--gt-white);
  border: 1px solid var(--gt-white);
  box-shadow: none;
}

.gt-pillar:nth-child(4n) .gt-pillar-chip {
  background: var(--gt-navy);
  border-color: var(--gt-navy);
  color: var(--gt-white);
}

.gt-pillar-link {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: inherit;
  margin-top: auto;
}

.gt-pillar-link:hover {
  text-decoration: underline;
}

/* ── 2) Catalog — premium link list (no cards) ── */
.gt-service-link-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: clamp(28px, 4vw, 48px);
  row-gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(11, 31, 70, 0.08);
}

.gt-service-link-list li {
  border-bottom: 1px solid rgba(11, 31, 70, 0.08);
}

.gt-service-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 4px;
  background: transparent;
  transition: color 0.2s, padding-left 0.2s;
}

.gt-service-link-title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.014em;
  line-height: 1.35;
  color: var(--gt-indigo);
}

.gt-service-link-list li:nth-child(4n+2) .gt-service-link-title { color: var(--gt-royal); }
.gt-service-link-list li:nth-child(4n+3) .gt-service-link-title { color: var(--gt-navy); }
.gt-service-link-list li:nth-child(4n) .gt-service-link-title { color: var(--gt-indigo); }

.gt-service-link-arrow {
  flex-shrink: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--gt-gold);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s, transform 0.2s;
}

.gt-service-link:hover .gt-service-link-title {
  color: var(--gt-navy);
}

.gt-service-link:hover .gt-service-link-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ── 3) Product cards — image-led platform cards ── */
.gt-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gt-product-card {
  display: flex;
  flex-direction: column;
  background: var(--gt-indigo);
  border: none;
  border-radius: 8px;
  overflow: hidden;
  color: #ffffff;
  transition: transform 0.25s;
}

.gt-product-card:hover {
  transform: translateY(-3px);
}

.gt-product-card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--gt-blue-50);
}

.gt-product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--gt-ease-out);
}

.gt-product-card:hover .gt-product-card-media img {
  transform: scale(1.04);
}

.gt-product-card-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.gt-product-card-body .gt-card-kicker {
  margin-bottom: 8px;
}

.gt-product-card-body h2,
.gt-product-card-body h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.018em;
  color: inherit;
  margin-bottom: 8px;
}

.gt-product-card-body .gt-text-sm {
  margin-bottom: 12px;
}

.gt-product-card-body .gt-text {
  font-size: 14px;
  line-height: 1.55;
  flex: 1;
}

.gt-product-card-cta {
  display: inline-flex;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gt-blue-600);
}

/* ── 4) Project / portfolio cards — case study layout ── */
.gt-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.gt-portfolio-card {
  display: grid;
  grid-template-rows: auto 1fr;
  background: #ffffff;
  border: 1px solid rgba(4, 47, 105, 0.12);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.gt-portfolio-card:hover {
  border-color: rgba(4, 47, 105, 0.28);
  box-shadow: 0 18px 44px rgba(4, 47, 105, 0.1);
}

.gt-portfolio-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--gt-blue-800);
}

.gt-portfolio-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
  transition: transform 0.5s var(--gt-ease-out), opacity 0.3s;
}

.gt-portfolio-card:hover .gt-portfolio-media img {
  transform: scale(1.05);
  opacity: 1;
}

.gt-portfolio-meta {
  position: absolute;
  left: 16px;
  bottom: 14px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.gt-portfolio-meta span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--gt-blue-600);
}

.gt-portfolio-body {
  padding: 22px 24px 26px;
}

.gt-portfolio-body h2,
.gt-portfolio-body h3 {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: inherit;
  margin-bottom: 10px;
}

.gt-portfolio-body p {
  font-size: 15px;
  line-height: 1.6;
  color: inherit;
  opacity: 0.88;
}

.gt-portfolio-cta {
  display: inline-flex;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  color: inherit;
}

/* ── 5) Related links — compact, not heavy cards ── */
.gt-related-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.gt-related-link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 18px 18px 16px;
  background: #ffffff;
  border: 1px solid rgba(4, 47, 105, 0.1);
  border-radius: 8px;
  border-left: 3px solid var(--gt-blue-600);
  transition: background 0.2s, border-color 0.2s;
}

.gt-related-link:hover {
  background: var(--gt-blue-50);
  border-color: rgba(4, 47, 105, 0.2);
}

.gt-related-link strong {
  font-size: 15px;
  font-weight: 600;
  color: var(--gt-gray-800);
  letter-spacing: -0.014em;
}

.gt-related-link span {
  font-size: 13px;
  color: var(--gt-gray-500);
  line-height: 1.4;
}

.gt-related-link em {
  font-style: normal;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gt-blue-600);
}

/* Detail article layout */
.gt-detail-shell {
  padding: var(--gt-space-section-y) 0;
  background: var(--gt-white);
}

.gt-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr);
  gap: clamp(36px, 5vw, 64px);
  align-items: start;
}

.gt-detail-prose > * + * {
  margin-top: 18px;
}

.gt-detail-prose h2 {
  margin-top: 40px;
  margin-bottom: 14px;
}

.gt-detail-prose p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--gt-gray-600);
}

.gt-detail-aside {
  position: sticky;
  top: calc(var(--gt-nav-h) + 24px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gt-detail-panel {
  background: var(--gt-indigo);
  border: none;
  border-radius: 8px;
  padding: 24px;
  color: #ffffff;
}

.gt-detail-panel-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gt-gold);
  margin-bottom: 16px;
}

.gt-detail-media {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(4, 47, 105, 0.1);
}

.gt-detail-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gt-detail-hero {
  position: relative;
  height: clamp(320px, 48vh, 460px);
  overflow: hidden;
  background: var(--gt-blue-800);
}

.gt-detail-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.gt-detail-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(2, 20, 40, 0.35) 0%,
    rgba(2, 20, 40, 0.78) 100%
  );
  display: flex;
  align-items: flex-end;
  padding: clamp(28px, 5vw, 56px) var(--gt-space-inline);
  color: #ffffff;
}

.gt-detail-hero-overlay .gt-heading-lg,
.gt-detail-hero-overlay .gt-heading-xl {
  color: #ffffff;
}

.gt-detail-hero-overlay .gt-text-lead,
.gt-detail-hero-overlay .gt-text {
  color: rgba(255, 255, 255, 0.86);
  margin-top: 12px;
  max-width: 640px;
}

.gt-detail-hero-overlay .gt-breadcrumb {
  color: rgba(255, 255, 255, 0.55);
}

.gt-detail-hero-overlay .gt-breadcrumb a {
  color: rgba(255, 255, 255, 0.78);
}

.gt-detail-hero-overlay .gt-breadcrumb a:hover {
  color: #ffffff;
}

.gt-include-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 20px;
}

.gt-include-item {
  padding: 18px 18px 18px 16px;
  border-radius: 8px;
  background: var(--gt-indigo);
  border: none;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  color: #ffffff;
}

.gt-include-item:nth-child(4n+2) { background: var(--gt-royal); }
.gt-include-item:nth-child(4n+3) { background: var(--gt-navy); }
.gt-include-item:nth-child(4n) { background: var(--gt-gold); color: var(--gt-ink); }

.gt-outcome-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gt-outcome-card {
  padding: 26px 24px;
  border-radius: 8px;
  background: var(--gt-indigo);
  border: none;
  color: #ffffff;
}

.gt-outcome-card:nth-child(4n+2) { background: var(--gt-royal); }
.gt-outcome-card:nth-child(4n+3) { background: var(--gt-navy); }
.gt-outcome-card:nth-child(4n) { background: var(--gt-gold); color: var(--gt-ink); }

.gt-outcome-card h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: inherit;
  margin-bottom: 8px;
}

.gt-outcome-card p {
  font-size: 14px;
  line-height: 1.55;
  color: inherit;
  opacity: 0.88;
}

.gt-band-soft {
  background: var(--gt-white);
  border-top: 1px solid rgba(22, 24, 58, 0.08);
  border-bottom: none;
}

.gt-cta-band {
  background: var(--gt-white);
  color: var(--gt-navy);
  padding: clamp(48px, 7vw, 72px) 0;
  border-top: 1px solid rgba(22, 24, 58, 0.08);
}

.gt-cta-band .gt-heading-md,
.gt-cta-band .gt-heading-lg {
  color: var(--gt-navy);
}

.gt-cta-band .gt-text {
  color: var(--gt-gray-600);
  margin-top: 12px;
  max-width: 560px;
}

.gt-cta-band .gt-btn-primary {
  background: var(--gt-indigo);
  color: var(--gt-white);
  margin-top: 24px;
}

.gt-cta-band .gt-btn-primary:hover {
  background: var(--gt-navy);
  color: var(--gt-white);
}

.gt-tech-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gt-tech-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gt-white);
  background: var(--gt-indigo);
  border: 1px solid var(--gt-indigo);
}

.gt-tech-chip:nth-child(4n+2) { background: var(--gt-royal); border-color: var(--gt-royal); }
.gt-tech-chip:nth-child(4n+3) { background: var(--gt-navy); border-color: var(--gt-navy); }
.gt-tech-chip:nth-child(4n) { background: var(--gt-gold); border-color: var(--gt-gold); color: var(--gt-ink); }

@media (max-width: 960px) {
  .gt-pillar-stack {
    grid-template-columns: repeat(2, 1fr);
  }

  .gt-product-grid,
  .gt-related-list {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .gt-portfolio-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .gt-detail-layout {
    grid-template-columns: 1fr;
  }

  .gt-detail-aside {
    position: static;
  }

  .gt-outcome-grid {
    grid-template-columns: 1fr;
  }

  .gt-include-grid {
    grid-template-columns: 1fr;
  }

  .gt-page-hero .gt-heading-xl {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .gt-pillar-stack,
  .gt-product-grid,
  .gt-related-list,
  .gt-service-link-list {
    grid-template-columns: 1fr;
  }
}

/* Publishing, vertical and SEO landing pages */
.gt-resource-hero{padding:calc(var(--gt-nav-h) + clamp(70px,9vw,130px)) 0 clamp(70px,9vw,120px);background:var(--gt-white)}
.gt-resource-hero h1{max-width:1050px;margin:18px 0 24px;font-size:clamp(48px,8vw,112px);font-weight:600;line-height:.94;letter-spacing:-.06em;color:var(--gt-blue-900)}
.gt-resource-hero>div>p:last-child{max-width:720px;font-size:clamp(17px,2vw,22px);line-height:1.55;color:var(--gt-gray-600)}
.gt-resource-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.gt-resource-card{min-height:330px;padding:30px;display:flex;flex-direction:column;background:var(--gt-indigo);color:var(--gt-white);border-radius:6px}
.gt-resource-card:nth-child(4n+2){background:var(--gt-royal)}
.gt-resource-card:nth-child(4n+3){background:var(--gt-navy)}
.gt-resource-card:nth-child(4n){background:var(--gt-gold);color:var(--gt-ink)}
.gt-resource-card>span{font-size:12px;text-transform:uppercase;letter-spacing:.12em;opacity:.75}.gt-resource-card h2{margin:70px 0 14px;font-size:clamp(24px,3vw,38px);line-height:1.05;letter-spacing:-.035em}.gt-resource-card p{font-size:15px;line-height:1.65;opacity:.86}.gt-resource-card strong{margin-top:auto;padding-top:25px;font-size:14px}
.gt-filter-nav{display:flex;gap:8px;margin-bottom:30px;flex-wrap:wrap}
.gt-filter-nav a{padding:10px 17px;background:var(--gt-indigo);color:white;border-radius:4px;font-size:13px;font-weight:600}
.gt-filter-nav a:nth-child(4n+2){background:var(--gt-royal)}
.gt-filter-nav a:nth-child(4n+3){background:var(--gt-navy)}
.gt-filter-nav a:nth-child(4n){background:var(--gt-gold);color:var(--gt-ink)}
.gt-article-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(240px,1fr);gap:clamp(50px,10vw,150px)}.gt-article-layout aside{display:flex;flex-direction:column;align-items:flex-start;gap:20px;border-top:3px solid var(--gt-gold);padding-top:22px}.gt-prose{font-size:18px;line-height:1.85;color:var(--gt-gray-700)}.gt-prose p{margin-bottom:1.4em}.gt-prose-centered{max-width:820px}.gt-article-byline{font-size:13px;color:var(--gt-blue-600);text-transform:uppercase;letter-spacing:.08em}.gt-faq-list{max-width:900px}.gt-faq-list details{border-bottom:1px solid var(--gt-gray-300);padding:24px 0}.gt-faq-list summary{cursor:pointer;font-size:clamp(19px,2vw,25px);font-weight:600;color:var(--gt-indigo)}.gt-faq-list details:nth-child(4n+2) summary{color:var(--gt-royal)}.gt-faq-list details:nth-child(4n+3) summary{color:var(--gt-navy)}.gt-faq-list details:nth-child(4n) summary{color:var(--gt-gold)}.gt-faq-list p{max-width:760px;padding:18px 0 4px;color:var(--gt-gray-600);line-height:1.7}.gt-center-action{text-align:center;margin-top:44px}.gt-project-placeholder{width:100%;height:100%;min-height:280px;display:flex;flex-direction:column;justify-content:flex-end;padding:28px;background:var(--gt-navy);color:white}.gt-project-placeholder span{font-size:12px;text-transform:uppercase;letter-spacing:.12em;color:var(--gt-gold-light)}.gt-project-placeholder strong{margin-top:8px;font-size:clamp(24px,3vw,42px);line-height:1}
@media(max-width:900px){.gt-resource-grid{grid-template-columns:repeat(2,1fr)}}
.gt-people-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.gt-person-card{padding:24px;background:var(--gt-gray-100);border-radius:6px}.gt-person-avatar,.gt-person-card img{width:100%;aspect-ratio:1;object-fit:cover;margin-bottom:22px;background:var(--gt-blue-700);color:white;display:grid;place-items:center;font-size:clamp(55px,8vw,100px);font-weight:600}.gt-person-card>span{font-size:12px;color:var(--gt-blue-600)}.gt-person-card h3{margin:7px 0 12px;font-size:22px}.gt-person-card p{font-size:13px;line-height:1.6;color:var(--gt-gray-600)}.gt-person-card a{display:inline-block;margin-top:16px;font-size:13px;font-weight:600}.gt-job-list{border-top:1px solid var(--gt-gray-300)}.gt-job-list>a{display:grid;grid-template-columns:1.3fr 1fr auto;align-items:center;gap:25px;padding:25px 5px;border-bottom:1px solid var(--gt-gray-300)}.gt-job-list span,.gt-job-list p{font-size:13px;color:var(--gt-gray-600)}.gt-job-list h3{margin-top:5px;font-size:clamp(20px,2.5vw,30px)}.gt-job-list strong{font-size:14px;color:var(--gt-blue-600)}
@media(max-width:900px){.gt-people-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.gt-resource-grid,.gt-article-layout{grid-template-columns:1fr}.gt-resource-card{min-height:280px}.gt-resource-card h2{margin-top:48px}.gt-resource-hero h1{font-size:clamp(46px,14vw,70px)}}
@media(max-width:640px){.gt-people-grid{grid-template-columns:1fr}.gt-job-list>a{grid-template-columns:1fr;gap:10px}}

/* Contact page form uses the same blue-and-gold form system as home. */
.gt-contact-form-wrap {
  position: relative;
  padding: clamp(28px, 4vw, 40px);
  background: var(--gt-gold);
  border: 1px solid var(--gt-gold);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(4, 47, 105, 0.1);
}

.gt-contact-form-wrap .gt-heading-sm,
.gt-contact-form-wrap .gt-text-sm { color: var(--gt-blue-900) !important; }

/* Alternating flat brand palette across list and detail content cards. */
.gt-product-card,
.gt-portfolio-card,
.gt-outcome-card,
.gt-grid-3 > .gt-card {
  background: var(--gt-indigo);
  background-image: none;
  border-color: var(--gt-indigo);
  color: var(--gt-white);
  box-shadow: none;
}

.gt-product-card:nth-child(4n+2),
.gt-portfolio-card:nth-child(4n+2),
.gt-outcome-card:nth-child(4n+2),
.gt-grid-3 > .gt-card:nth-child(4n+2) { background: var(--gt-royal); border-color: var(--gt-royal); }

.gt-product-card:nth-child(4n+3),
.gt-portfolio-card:nth-child(4n+3),
.gt-outcome-card:nth-child(4n+3),
.gt-grid-3 > .gt-card:nth-child(4n+3) { background: var(--gt-navy); border-color: var(--gt-navy); }

.gt-product-card:nth-child(4n),
.gt-portfolio-card:nth-child(4n),
.gt-outcome-card:nth-child(4n),
.gt-grid-3 > .gt-card:nth-child(4n) { background: var(--gt-gold); border-color: var(--gt-gold); color: var(--gt-ink); }

.gt-product-card .gt-card-kicker,
.gt-product-card h2,
.gt-product-card .gt-text,
.gt-product-card .gt-text-sm,
.gt-product-card .gt-product-card-cta,
.gt-portfolio-card h2,
.gt-portfolio-card p,
.gt-portfolio-card .gt-portfolio-cta,
.gt-outcome-card h3,
.gt-outcome-card p,
.gt-grid-3 > .gt-card .gt-heading-sm,
.gt-grid-3 > .gt-card .gt-text-sm { color: var(--gt-white); }

.gt-product-card:nth-child(4n) .gt-card-kicker,
.gt-product-card:nth-child(4n) h2,
.gt-product-card:nth-child(4n) .gt-text,
.gt-product-card:nth-child(4n) .gt-text-sm,
.gt-product-card:nth-child(4n) .gt-product-card-cta,
.gt-portfolio-card:nth-child(4n) h2,
.gt-portfolio-card:nth-child(4n) p,
.gt-portfolio-card:nth-child(4n) .gt-portfolio-cta,
.gt-outcome-card:nth-child(4n) h3,
.gt-outcome-card:nth-child(4n) p,
.gt-grid-3 > .gt-card:nth-child(4n) .gt-heading-sm,
.gt-grid-3 > .gt-card:nth-child(4n) .gt-text-sm { color: var(--gt-ink); }

.gt-related-list .gt-related-link:nth-child(4n+1) { border-left-color: var(--gt-indigo); }
.gt-related-list .gt-related-link:nth-child(4n+2) { border-left-color: var(--gt-royal); }
.gt-related-list .gt-related-link:nth-child(4n+3) { border-left-color: var(--gt-navy); }
.gt-related-list .gt-related-link:nth-child(4n) { border-left-color: var(--gt-gold); }

/* Detail-page capability and related-service cards. */
.gt-include-item,
.gt-related-link {
  background: var(--gt-indigo);
  border-color: var(--gt-indigo);
  border-left: 0;
  border-radius: 8px;
  color: var(--gt-white);
  box-shadow: none;
}

.gt-include-item:nth-child(4n+2),
.gt-related-link:nth-child(4n+2) { background: var(--gt-royal); border-color: var(--gt-royal); }

.gt-include-item:nth-child(4n+3),
.gt-related-link:nth-child(4n+3) { background: var(--gt-navy); border-color: var(--gt-navy); }

.gt-include-item:nth-child(4n),
.gt-related-link:nth-child(4n) { background: var(--gt-gold); border-color: var(--gt-gold); color: var(--gt-ink); }

.gt-related-link strong,
.gt-related-link span,
.gt-related-link em { color: var(--gt-white); }

.gt-related-link:nth-child(4n) strong,
.gt-related-link:nth-child(4n) span,
.gt-related-link:nth-child(4n) em { color: var(--gt-blue-900); }

.gt-related-link:hover {
  background: var(--gt-blue-500);
  border-color: var(--gt-blue-500);
  transform: translateY(-2px);
}

.gt-related-link:nth-child(4n):hover {
  background: var(--gt-gold-light);
  border-color: var(--gt-gold-light);
}

/* Team and careers */
.gt-team-intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px,8vw,110px); align-items: start; }
.gt-team-intro .gt-heading-md { margin-top: 14px; }
.gt-team-inline-link { display: inline-block; margin-top: 24px; color: var(--gt-blue-600); font-size: 14px; font-weight: 600; }
.gt-team-disciplines { background: var(--gt-white); }
.gt-team-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; }
.gt-team-grid article { min-height: 310px; padding: 30px 24px; background: var(--gt-indigo); color: var(--gt-white); }
.gt-team-grid article:nth-child(4n+2) { background: var(--gt-royal); }
.gt-team-grid article:nth-child(4n+3) { background: var(--gt-navy); }
.gt-team-grid article:nth-child(4n) { background: var(--gt-gold); color: var(--gt-ink); }
.gt-team-grid article > span { font-size: 11px; color: var(--gt-gold-light); }
.gt-team-grid article:nth-child(4) > span { color: var(--gt-blue-700); }
.gt-team-grid h3 { margin: 90px 0 14px; font-size: 22px; line-height: 1.15; }
.gt-team-grid p { font-size: 14px; line-height: 1.6; opacity: .82; }
.gt-team-join { padding: clamp(54px,7vw,90px) 0; background: var(--gt-white); color: var(--gt-navy); }
.gt-team-join .gt-container { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.gt-team-join p { max-width: 760px; font-size: clamp(26px,4vw,52px); line-height: 1.1; letter-spacing: -.04em; color: var(--gt-navy); }
.gt-team-join a { color: var(--gt-indigo); font-weight: 600; white-space: nowrap; }

.gt-career-hero { min-height: 92svh; display: flex; align-items: center; padding: calc(var(--gt-nav-h) + 80px) 0 80px; background: var(--gt-white); color: var(--gt-navy); }
.gt-career-hero .gt-eyebrow { color: var(--gt-indigo); }
.gt-career-hero h1 { margin: 30px 0; max-width: 1050px; font-size: clamp(58px,10vw,136px); font-weight: 600; line-height: .87; letter-spacing: -.07em; color: var(--gt-navy); }
.gt-career-hero h1 span { color: var(--gt-gold); }
.gt-career-hero p:not(.gt-eyebrow) { max-width: 650px; color: var(--gt-gray-600); font-size: clamp(17px,2vw,22px); }
.gt-career-hero .gt-btn { margin-top: 32px; background: var(--gt-indigo); color: var(--gt-white); }
.gt-career-section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 60px; margin-bottom: 56px; }
.gt-career-section-head .gt-eyebrow { grid-column: 1/-1; }
.gt-career-value-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; border-block: none; }
.gt-career-value-grid article { padding: 30px 24px; border-right: none; background: var(--gt-indigo); color: var(--gt-white); border-radius: 8px; }
.gt-career-value-grid article:nth-child(4n+2) { background: var(--gt-royal); }
.gt-career-value-grid article:nth-child(4n+3) { background: var(--gt-navy); }
.gt-career-value-grid article:nth-child(4n) { background: var(--gt-gold); color: var(--gt-ink); }
.gt-career-value-grid article:last-child { border: 0; }
.gt-career-value-grid h3 { margin-bottom: 14px; font-size: 20px; color: inherit; }
.gt-career-value-grid p { color: inherit; opacity: 0.88; font-size: 14px; }
.gt-career-benefits { background: var(--gt-white); }
.gt-career-benefit-head { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; margin-bottom: 48px; }
.gt-career-benefits ul { display: grid; grid-template-columns: repeat(2,1fr); list-style: none; gap: 8px; border-top: none; }
.gt-career-benefits li { display: grid; grid-template-columns: 1fr 1.4fr; gap: 20px; padding: 22px 20px; border-bottom: none; background: var(--gt-indigo); color: var(--gt-white); border-radius: 8px; }
.gt-career-benefits li:nth-child(4n+2) { background: var(--gt-royal); }
.gt-career-benefits li:nth-child(4n+3) { background: var(--gt-navy); }
.gt-career-benefits li:nth-child(4n) { background: var(--gt-gold); color: var(--gt-ink); }
.gt-career-benefits li:nth-child(odd) { margin-right: 0; }
.gt-career-benefits li strong { color: inherit; }
.gt-career-benefits li span { color: inherit; opacity: 0.88; font-size: 14px; }
.gt-career-process .gt-heading-md { margin: 14px 0 44px; }
.gt-career-process ol { display: grid; grid-template-columns: repeat(4,1fr); list-style: none; border-top: 1px solid var(--gt-gray-300); }
.gt-career-process li { padding: 24px 24px 10px 0; }
.gt-career-process li span { display: block; margin-bottom: 50px; color: var(--gt-indigo); font-size: 12px; font-weight: 700; }
.gt-career-process li:nth-child(4n+2) span { color: var(--gt-royal); }
.gt-career-process li:nth-child(4n+3) span { color: var(--gt-navy); }
.gt-career-process li:nth-child(4n) span { color: var(--gt-gold); }
.gt-career-process li strong { display: block; margin-bottom: 10px; font-size: 18px; }
.gt-career-process li p { color: var(--gt-gray-600); font-size: 14px; }
.gt-career-apply { padding: clamp(70px,10vw,140px) 0; background: var(--gt-white); color: var(--gt-navy); }
.gt-career-apply .gt-eyebrow { color: var(--gt-indigo); }
.gt-career-apply h2 { margin: 24px 0; font-size: clamp(42px,7vw,90px); line-height: .95; letter-spacing: -.055em; color: var(--gt-navy); }
.gt-career-apply p:not(.gt-eyebrow) { max-width: 620px; color: var(--gt-gray-600); }
.gt-career-apply .gt-btn { margin-top: 30px; background: var(--gt-indigo); color: var(--gt-white); }

@media (max-width: 900px) {
  .gt-team-grid,.gt-career-value-grid,.gt-career-process ol { grid-template-columns: repeat(2,1fr); }
  .gt-career-benefits ul { grid-template-columns: 1fr; }
  .gt-career-benefits li:nth-child(odd) { margin-right: 0; }
}
@media (max-width: 640px) {
  .gt-team-intro-grid,.gt-career-section-head,.gt-career-benefit-head { grid-template-columns: 1fr; }
  .gt-team-grid,.gt-career-value-grid,.gt-career-process ol { grid-template-columns: 1fr; }
  .gt-team-grid article { min-height: 250px; }
  .gt-team-grid h3 { margin-top: 58px; }
  .gt-team-join .gt-container { align-items: flex-start; flex-direction: column; }
  .gt-career-hero h1 { font-size: clamp(54px,17vw,78px); }
  .gt-career-value-grid article { border-right: 0; border-bottom: 1px solid var(--gt-gray-300); }
  .gt-career-benefits li { grid-template-columns: 1fr; gap: 6px; }
}

/* Contact — global offices map */
.gt-contact-hero .gt-heading-xl {
  max-width: 22ch;
}

.gt-offices-map-section {
  background: var(--gt-white);
  color: var(--gt-navy);
  padding: 0;
}

.gt-offices-map-frame {
  position: relative;
  height: min(62vh, 640px);
  min-height: 420px;
  background: var(--gt-blue-50);
}

.gt-offices-map-frame:fullscreen,
.gt-offices-map-frame:-webkit-full-screen {
  height: 100%;
  min-height: 100%;
  width: 100%;
}

#gt-offices-map {
  height: 100%;
  width: 100%;
  background: var(--gt-blue-50);
}

#gt-offices-map .leaflet-container {
  background: var(--gt-blue-50);
  font-family: var(--gt-font);
  touch-action: pan-y;
}

#gt-offices-map .leaflet-tile-pane {
  filter: saturate(1.08) hue-rotate(12deg);
}

.gt-map-pin-wrap {
  background: none !important;
  border: 0 !important;
}

.gt-map-pin {
  width: 32px;
  height: 42px;
  cursor: pointer;
  filter: drop-shadow(0 8px 12px rgba(22, 24, 58, 0.28));
  transition: transform 0.2s ease;
}

.gt-map-pin svg {
  width: 32px;
  height: 42px;
  display: block;
}

.gt-map-pin svg path { fill: var(--gt-indigo); }
.gt-map-pin svg circle { fill: var(--gt-white); }

.gt-map-pin.is-active {
  transform: scale(1.12);
}

.gt-map-pin.is-active svg path { fill: var(--gt-gold); }
.gt-map-pin.is-active svg circle { fill: var(--gt-navy); }

#gt-offices-map .leaflet-popup-content-wrapper {
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(22, 24, 58, 0.16);
  color: var(--gt-navy);
  font-family: var(--gt-font);
}

#gt-offices-map .leaflet-popup-content {
  margin: 12px 14px;
  font-size: 14px;
  line-height: 1.45;
}

#gt-offices-map .leaflet-popup-tip { background: var(--gt-white); }

#gt-offices-map .leaflet-bar a {
  color: var(--gt-indigo);
  border-bottom-color: rgba(46, 49, 146, 0.12);
}

#gt-offices-map .leaflet-bar a:hover {
  background: var(--gt-blue-50);
  color: var(--gt-navy);
}

.leaflet-control-attribution {
  background: rgba(255, 255, 255, 0.82) !important;
  color: var(--gt-gray-600) !important;
  font-size: 10px !important;
}

.leaflet-control-attribution a { color: var(--gt-indigo) !important; }

.gt-offices-cards-section { background: var(--gt-white); }

.gt-offices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.gt-office-card {
  min-height: 280px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  background: var(--gt-indigo);
  color: var(--gt-white);
  border: 2px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.gt-office-card:nth-child(6n+2) { background: var(--gt-royal); }
.gt-office-card:nth-child(6n+3) { background: var(--gt-navy); }
.gt-office-card:nth-child(6n+4) { background: var(--gt-gold); color: var(--gt-ink); }
.gt-office-card:nth-child(6n+5) { background: var(--gt-indigo); }
.gt-office-card:nth-child(6n) { background: var(--gt-royal); }

.gt-office-card:hover { transform: translateY(-3px); }

.gt-office-card.is-active {
  border-color: var(--gt-gold-bright);
  box-shadow: 0 0 0 1px var(--gt-gold);
}

.gt-office-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.gt-office-card-num {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: var(--gt-white);
  color: var(--gt-navy);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
}

.gt-office-card-num svg {
  width: 18px;
  height: 18px;
  fill: var(--gt-indigo);
}

.gt-office-card:nth-child(6n+4) .gt-office-card-num {
  background: var(--gt-navy);
  color: var(--gt-white);
}

.gt-office-card:nth-child(6n+4) .gt-office-card-num svg {
  fill: var(--gt-gold);
}

.gt-office-card-kind {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.75;
}

.gt-office-card h3 {
  margin: 48px 0 10px;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.gt-office-card p {
  font-size: 14px;
  line-height: 1.55;
  opacity: 0.86;
}

.gt-office-card-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: auto;
  padding-top: 22px;
}

.gt-office-card-map,
.gt-office-card-actions a {
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}

.gt-office-card-actions a { opacity: 0.8; }
.gt-office-card-map:hover,
.gt-office-card-actions a:hover { text-decoration: underline; }

.gt-contact-page-layout {
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}

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

@media (max-width: 1024px) {
  .gt-offices-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .gt-contact-hero .gt-heading-xl { max-width: none; }
  .gt-offices-map-frame {
    height: 460px;
    min-height: 420px;
  }
  .gt-offices-grid { grid-template-columns: 1fr; }
  .gt-office-card { min-height: 230px; }
  .gt-office-card h3 { margin-top: 28px; }
  .gt-contact-page-layout { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 540px) {
  .gt-contact-form-row { grid-template-columns: 1fr; }
}
