:root {
  /* General Patent Corporation brand palette (navy/blue). */
  --gp-ink: #16243d;
  --gp-muted: #5d6876;
  --gp-soft: #eef2f8;
  --gp-paper: #ffffff;
  --gp-line: #d3dbe8;
  --gp-wine: #002862;   /* primary deep navy (brand) */
  --gp-gold: #2f6fb5;   /* accent blue */
  --gp-teal: #2c4b79;   /* secondary navy */
  --gp-shadow: 0 18px 45px rgba(22, 36, 61, 0.14);
  --gp-shell: 1180px;
}

.gp-revamp {
  margin: 0;
  background: var(--gp-soft);
  color: var(--gp-ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

.gp-revamp a {
  color: var(--gp-wine);
  text-decoration: none;
}

.gp-revamp a:hover,
.gp-revamp a:focus {
  color: #001a45;
  text-decoration: underline;
}

.gp-revamp img {
  max-width: 100%;
  height: auto;
}

.gp-shell,
.gp-revamp .main-container.container,
.gp-revamp .footer.container {
  width: min(calc(100% - 48px), var(--gp-shell));
  max-width: var(--gp-shell);
  margin-left: auto;
  margin-right: auto;
}

.gp-skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 10000;
  padding: 10px 14px;
  background: var(--gp-ink);
  color: #fff;
}

.gp-skip-link:focus {
  top: 12px;
  color: #fff;
}

.gp-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--gp-paper);
  box-shadow: 0 1px 0 rgba(24, 33, 45, 0.08), 0 10px 28px rgba(24, 33, 45, 0.08);
}

.gp-utility-bar {
  background: var(--gp-ink);
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.gp-utility-inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.gp-utility-bar a {
  color: #fff;
}

.gp-navbar {
  min-height: 74px;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: var(--gp-paper);
}

.gp-nav-shell {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gp-brand-wrap {
  float: none;
  min-height: 0;
}

.gp-brand {
  display: inline-flex;
  align-items: center;
  color: var(--gp-ink);
}

.gp-brand:hover,
.gp-brand:focus {
  color: var(--gp-ink);
  text-decoration: none;
}

.gp-brand img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.gp-brand strong {
  display: block;
  font-size: 21px;
  line-height: 1.05;
  font-weight: 700;
}

.gp-brand em {
  display: block;
  margin-top: 2px;
  color: var(--gp-muted);
  font-size: 12px;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gp-nav-collapse {
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  padding: 0;
}

.gp-primary-nav {
  list-style: none;
  float: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  flex: 1 1 auto;
  margin: 0;
  padding: 0;
}

.gp-primary-nav > li {
  position: relative;
}

.gp-primary-nav > li > a {
  display: block;
  padding: 27px 10px;
  color: var(--gp-ink) !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
}

.gp-primary-nav > li.active > a,
.gp-primary-nav > li > a:hover,
.gp-primary-nav > li > a:focus {
  background: transparent !important;
  color: var(--gp-wine) !important;
  text-decoration: none;
}

.gp-primary-nav .gp-caret {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 6px;
  vertical-align: middle;
  border-top: 4px solid var(--gp-gold);
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
}

/* Self-contained dropdown (no Bootstrap navbar/dropdown CSS dependency). */
.gp-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  display: none;
  min-width: 260px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: var(--gp-paper);
  border: 1px solid var(--gp-line);
  border-radius: 8px;
  box-shadow: var(--gp-shadow);
}

.gp-dropdown > li > a {
  display: block;
  padding: 9px 12px;
  color: var(--gp-ink);
  border-radius: 6px;
  white-space: normal;
}

.gp-dropdown > li > a:hover,
.gp-dropdown > li > a:focus {
  background: var(--gp-soft);
  color: var(--gp-wine);
  text-decoration: none;
}

.gp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border-radius: 6px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  white-space: normal;
}

.gp-nav-cta {
  display: none;
}

.gp-nav-cta,
.gp-button-primary {
  background: var(--gp-wine);
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(0, 40, 98, 0.22);
}

.gp-nav-cta:hover,
.gp-nav-cta:focus,
.gp-button-primary:hover,
.gp-button-primary:focus {
  background: #001a45;
  color: #fff !important;
  text-decoration: none;
}

.gp-button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.65);
  color: #fff !important;
  background: rgba(24, 33, 45, 0.62);
}

.gp-button-secondary:hover,
.gp-button-secondary:focus {
  background: rgba(255, 255, 255, 0.16);
  color: #fff !important;
  text-decoration: none;
}

.gp-menu-toggle {
  display: none;
  margin: 15px 0;
  padding: 9px 10px;
  background: transparent;
  border: 1px solid var(--gp-line);
  border-radius: 6px;
}

.gp-menu-toggle .icon-bar {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 1px;
}

.gp-menu-toggle .icon-bar + .icon-bar {
  margin-top: 4px;
}

.gp-menu-toggle .icon-bar {
  background: var(--gp-ink);
}

.gp-hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--gp-ink);
}

.gp-hero-media {
  position: absolute;
  inset: 0;
  background-image: url("/files/images/hero-ip-blueprint.svg");
  background-position: center;
  background-size: cover;
  transform: scale(1.01);
}

.gp-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(6, 16, 36, 0.42);
}

.gp-hero-content {
  position: relative;
  z-index: 1;
  padding: 70px 0 78px;
  color: #fff;
}

.gp-eyebrow {
  margin: 0 0 12px;
  color: var(--gp-gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.gp-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 0.98;
  font-weight: 700;
  letter-spacing: 0;
}

.gp-hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 21px;
  line-height: 1.45;
}

.gp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.gp-proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 760px;
  margin: 46px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.gp-proof-strip div {
  padding: 18px 22px 0 0;
}

.gp-proof-strip dt {
  color: #fff;
  font-size: 25px;
  line-height: 1.1;
}

.gp-proof-strip dd {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.gp-section {
  padding: 72px 0;
}

.gp-section h2,
.gp-revamp .main-container h1,
.gp-revamp .main-container h2,
.gp-revamp .main-container h3 {
  color: var(--gp-ink);
  letter-spacing: 0;
}

.gp-section h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
}

.gp-two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 48px;
  align-items: start;
}

.gp-lead-copy {
  color: var(--gp-muted);
  font-size: 19px;
}

.gp-services,
.gp-news-panel {
  background: var(--gp-paper);
}

/* Homepage testimonial / press pull-quotes. */
.gp-quotes {
  background: var(--gp-paper);
}

.gp-quotes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.gp-pullquote {
  margin: 0;
  padding: 28px 30px;
  border-left: 4px solid var(--gp-wine);
  border-radius: 8px;
  background: var(--gp-soft);
}

.gp-pullquote p {
  margin: 0 0 16px;
  color: var(--gp-ink);
  font-size: 19px;
  line-height: 1.5;
  font-style: italic;
}

.gp-pullquote cite {
  color: var(--gp-muted);
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.gp-section-heading {
  max-width: 770px;
  margin-bottom: 30px;
}

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

.gp-service-card {
  min-height: 250px;
  padding: 24px;
  border: 1px solid var(--gp-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(24, 33, 45, 0.06);
}

.gp-service-card h3 {
  margin: 0 0 12px;
  font-size: 22px;
}

.gp-service-card p {
  color: var(--gp-muted);
}

.gp-service-card a {
  display: inline-block;
  margin-top: 10px;
  font-weight: 700;
}

.gp-process {
  background: #edf2ee;
}

.gp-process-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 50px;
}

.gp-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: gp-step;
}

.gp-steps li {
  position: relative;
  min-height: 210px;
  padding: 58px 22px 22px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--gp-line);
}

.gp-steps li::before {
  counter-increment: gp-step;
  content: counter(gp-step);
  position: absolute;
  left: 22px;
  top: 20px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gp-teal);
  color: #fff;
  font-weight: 700;
}

.gp-steps strong {
  display: block;
  margin-bottom: 8px;
  font-size: 21px;
}

.gp-steps span {
  color: var(--gp-muted);
}

.gp-news-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: 52px;
  align-items: center;
}

.gp-link-list {
  display: grid;
  gap: 12px;
}

.gp-link-list a {
  display: block;
  padding: 20px;
  border: 1px solid var(--gp-line);
  border-radius: 8px;
  background: var(--gp-soft);
}

.gp-link-list a:hover,
.gp-link-list a:focus {
  text-decoration: none;
  border-color: rgba(0, 40, 98, 0.4);
}

.gp-link-list span {
  display: block;
  color: var(--gp-ink);
  font-size: 20px;
  font-weight: 700;
}

.gp-link-list small {
  display: block;
  margin-top: 4px;
  color: var(--gp-muted);
  font-size: 14px;
}

.gp-cta-band {
  background: var(--gp-ink);
  color: #fff;
  text-align: center;
}

.gp-cta-band h2 {
  color: #fff;
}

.gp-cta-band p {
  max-width: 650px;
  margin: 15px auto 24px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 19px;
}

.gp-page-main {
  background: var(--gp-soft);
}

.gp-page-hero {
  padding: 64px 0;
  background: #fff;
  border-bottom: 1px solid var(--gp-line);
}

.gp-page-hero h1 {
  max-width: 840px;
  margin: 0;
  color: var(--gp-ink);
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.05;
}

.gp-page-hero p:not(.gp-eyebrow) {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--gp-muted);
  font-size: 20px;
}

.gp-contact-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 0.88fr);
  gap: 24px;
  align-items: start;
}

.gp-info-panel,
.gp-form-panel {
  border: 1px solid var(--gp-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 35px rgba(24, 33, 45, 0.07);
}

.gp-info-panel {
  padding: 28px;
}

.gp-info-panel h2,
.gp-form-panel h2 {
  margin: 0 0 16px;
  color: var(--gp-ink);
  font-size: 24px;
}

.gp-info-panel address {
  margin-bottom: 18px;
  color: var(--gp-muted);
  font-style: normal;
}

.gp-info-panel p {
  color: var(--gp-muted);
}

.gp-form-panel {
  padding: 30px;
}

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

.gp-form-field {
  margin-bottom: 18px;
}

.gp-form-field label {
  display: block;
  margin-bottom: 7px;
}

.gp-recaptcha-wrap {
  margin: 8px 0 18px;
  overflow-x: auto;
}

.gp-revamp .main-container.container {
  margin-top: 48px;
  margin-bottom: 72px;
  padding: 36px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 35px rgba(24, 33, 45, 0.08);
}

.gp-revamp.gp-home .main-container.container,
.gp-home-main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.gp-revamp .main-container h1 {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
}

.gp-revamp .main-container h2 {
  margin-top: 28px;
  font-size: 28px;
}

.gp-revamp .main-container p,
.gp-revamp .main-container li {
  color: #334052;
}

.gp-revamp .main-container table {
  max-width: 100%;
}

/* Legacy Bootstrap-3 wells/panels are retooled to BS5 cards at render time; give
   those cards the site's softer look and comfortable padding (a stray legacy
   .region rule otherwise collapses .card-body padding). */
.gp-revamp .main-container .card {
  border: 1px solid var(--gp-line);
  border-radius: 8px;
  background: var(--gp-soft);
  box-shadow: none;
}

.gp-revamp .main-container .card-body {
  padding: 18px 20px;
}

/* Legacy Drupal sidebar/content menus carry a .nav class; Bootstrap 5 makes
   .nav a flex row, which collapses these vertical menus. Force them to stack. */
.gp-revamp .main-container .menu {
  display: block;
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.gp-revamp .main-container .menu li {
  display: block;
}

.gp-revamp .main-container .menu li a {
  display: block;
  padding: 6px 0;
}

.gp-revamp .main-container .menu .menu {
  padding-left: 14px;
}

.gp-revamp .field--name-body img[align="right"] {
  margin: 0 0 18px 24px;
  border-radius: 8px;
}

/* === SW-1 full rewrite: modern single-column wrapper for legacy inner pages ===
   Legacy Drupal bodies are narrowed to their region-content and re-wrapped in the
   modern shell (gp-page-hero title band + gp-section). This styles that content
   into one clean, readable column — prose, lists, floats, tables, the directions
   map embed, news/blog teaser listings, pagers, and comment threads. */
.gp-legacy-content {
  max-width: 900px;
  padding: clamp(24px, 3.4vw, 44px);
  background: #fff;
  border: 1px solid var(--gp-line);
  border-radius: 8px;
  box-shadow: 0 10px 35px rgba(24, 33, 45, 0.06);
  color: #334052;
  font-size: 18px;
  line-height: 1.7;
}

.gp-legacy-content > article,
.gp-legacy-content > .content,
.gp-legacy-content .field--name-body {
  margin: 0;
}

.gp-legacy-content p {
  margin: 0 0 18px;
}

.gp-legacy-content p,
.gp-legacy-content li {
  color: #334052;
}

.gp-legacy-content a {
  color: var(--gp-gold);
}

.gp-legacy-content a:hover {
  text-decoration: underline;
}

.gp-legacy-content h2,
.gp-legacy-content h3,
.gp-legacy-content h4 {
  color: var(--gp-ink);
  letter-spacing: 0;
}

.gp-legacy-content h2 {
  margin: 34px 0 14px;
  font-size: 26px;
  line-height: 1.2;
}

.gp-legacy-content h3 {
  margin: 26px 0 12px;
  font-size: 21px;
}

.gp-legacy-content h2:first-child,
.gp-legacy-content h3:first-child {
  margin-top: 0;
}

.gp-legacy-content ul,
.gp-legacy-content ol {
  margin: 0 0 18px;
  padding-left: 22px;
}

.gp-legacy-content li {
  margin: 6px 0;
}

.gp-legacy-content img {
  max-width: 100%;
  height: auto;
}

.gp-legacy-content img[align="right"] {
  float: right;
  max-width: min(190px, 44%);
  margin: 4px 0 18px 26px;
  border-radius: 8px;
}

.gp-legacy-content img[align="left"] {
  float: left;
  max-width: min(190px, 44%);
  margin: 4px 26px 18px 0;
  border-radius: 8px;
}

.gp-legacy-content table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin: 0 0 22px;
}

.gp-legacy-content th,
.gp-legacy-content td {
  padding: 8px 10px;
  vertical-align: top;
}

.gp-legacy-content iframe {
  max-width: 100%;
  border: 0;
}

.gp-legacy-content .author {
  margin-bottom: 16px;
  color: var(--gp-muted);
  font-size: 14px;
}

/* News / blog / archive / media teaser listings */
.gp-legacy-content .views-row {
  padding: 24px 0;
  border-bottom: 1px solid var(--gp-line);
}

.gp-legacy-content .views-row:first-child {
  padding-top: 6px;
}

.gp-legacy-content .views-row article {
  margin: 0;
}

.gp-legacy-content .views-row h2 {
  margin: 0 0 8px;
  font-size: 22px;
}

.gp-legacy-content .views-row h2 a {
  color: var(--gp-ink);
}

.gp-legacy-content .links.inline {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 12px 0 0;
  padding-left: 0;
  list-style: none;
}

.gp-legacy-content .links.inline li {
  margin: 0;
}

.gp-legacy-content .node-readmore a {
  font-weight: 600;
}

/* Pager / pagination on listing pages */
.gp-legacy-content .pager,
.gp-legacy-content .pagination,
.gp-legacy-content ul.js-pager__items {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin: 30px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--gp-line);
  list-style: none;
}

.gp-legacy-content .pager li,
.gp-legacy-content .pagination li {
  margin: 0;
}

.gp-legacy-content .pager a,
.gp-legacy-content .pagination a,
.gp-legacy-content ul.js-pager__items a {
  display: inline-block;
  padding: 8px 13px;
  border: 1px solid var(--gp-line);
  border-radius: 6px;
  color: var(--gp-ink);
  text-decoration: none;
  font-weight: 600;
}

.gp-legacy-content .pager a:hover,
.gp-legacy-content .pagination a:hover,
.gp-legacy-content ul.js-pager__items a:hover {
  background: var(--gp-soft);
  text-decoration: none;
}

.gp-legacy-content .pager .is-active a,
.gp-legacy-content .pager__item.is-active a,
.gp-legacy-content .pagination .active a,
.gp-legacy-content ul.js-pager__items [aria-current] {
  background: var(--gp-wine);
  color: #fff;
  border-color: var(--gp-wine);
}

/* Blog comment thread */
.gp-legacy-content .comment {
  margin: 20px 0;
  padding: 16px 18px;
  background: var(--gp-soft);
  border-radius: 8px;
}

.gp-legacy-content .comment h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

/* Monthly-archive nav appended to the blog index + archive pages. */
.gp-archive-nav {
  margin-top: 36px;
  padding-top: 26px;
  border-top: 1px solid var(--gp-line);
}

.gp-archive-nav > h2 {
  margin: 0 0 18px;
  font-size: 22px;
  color: var(--gp-ink);
}

.gp-archive-years {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 18px 24px;
}

.gp-archive-year-label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gp-ink);
}

.gp-archive-year ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gp-archive-year li {
  margin: 0;
}

.gp-archive-year a {
  font-size: 14px;
  color: var(--gp-gold);
  text-decoration: none;
}

.gp-archive-year a:hover {
  text-decoration: underline;
}

.gp-flash-fallback {
  max-width: 640px;
  margin: 20px 0;
  padding: 26px;
  border: 1px solid var(--gp-line);
  border-left: 5px solid var(--gp-gold);
  border-radius: 8px;
  background: #fff;
}

.gp-flash-fallback h2 {
  margin: 0 0 10px;
  font-size: 24px;
}

.gp-flash-fallback p {
  margin-bottom: 14px;
}

.gp-revamp form label,
.gp-revamp .control-label {
  color: var(--gp-ink);
  font-weight: 700;
}

.gp-revamp input[type="text"],
.gp-revamp input[type="email"],
.gp-revamp input[type="tel"],
.gp-revamp textarea,
.gp-revamp .form-control {
  width: 100%;
  min-height: 44px;
  border: 1px solid #cfd8d2;
  border-radius: 6px;
  box-shadow: none;
  font-size: 16px;
}

.gp-revamp textarea,
.gp-revamp textarea.form-control {
  min-height: 140px;
}

.gp-revamp input[type="submit"],
.gp-revamp button[type="submit"],
.gp-revamp .btn-primary {
  min-height: 44px;
  padding: 11px 18px;
  border: 0;
  border-radius: 6px;
  background: var(--gp-wine);
  color: #fff;
  font-weight: 700;
}

.gp-revamp .container5 {
  max-width: 680px;
  margin: 30px 0 0;
  padding: 28px;
  border: 1px solid var(--gp-line);
  border-radius: 8px;
  background: var(--gp-soft);
  box-shadow: none;
}

.gp-revamp .message {
  margin-bottom: 18px;
  border-radius: 6px;
}

.gp-site-footer {
  background: #111923;
  color: rgba(255, 255, 255, 0.78);
}

.gp-footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.3fr) repeat(3, minmax(160px, 0.7fr));
  gap: 34px;
  padding: 54px 0;
}

.gp-footer-brand img {
  width: auto;
  height: 46px;
  margin-bottom: 18px;
}

.gp-site-footer h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.gp-site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.gp-site-footer li + li {
  margin-top: 8px;
}

.gp-site-footer a {
  color: rgba(255, 255, 255, 0.86);
}

.gp-site-footer address {
  margin: 0 0 12px;
  font-style: normal;
}

.gp-social-links {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.gp-social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.gp-social-links a:hover,
.gp-social-links a:focus {
  background: var(--gp-gold);
  border-color: var(--gp-gold);
  transform: translateY(-2px);
}

.gp-social-links svg {
  width: 17px;
  height: 17px;
  fill: #fff;
}

.gp-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
}

.gp-footer-bottom .gp-shell {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

@media (min-width: 992px) {
  .gp-primary-nav .gp-has-children:hover > .gp-dropdown,
  .gp-primary-nav .gp-has-children:focus-within > .gp-dropdown {
    display: block;
  }
}

@media (min-width: 1380px) {
  .gp-nav-cta {
    display: inline-flex;
  }
}

@media (max-width: 1100px) {
  .gp-nav-shell {
    display: block;
  }

  .gp-brand-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .gp-menu-toggle {
    display: inline-block;
  }

  .gp-nav-collapse {
    display: block !important;
    padding: 0 0 16px;
  }

  .gp-nav-collapse:not(.in) {
    display: none !important;
  }

  .gp-primary-nav {
    display: block;
  }

  .gp-primary-nav > li {
    position: static;
  }

  .gp-primary-nav > li > a {
    padding: 12px 0;
  }

  .gp-dropdown {
    position: static;
    float: none;
    width: 100%;
    box-shadow: none;
  }

  .gp-nav-cta {
    margin-top: 12px;
  }

  .gp-card-grid,
  .gp-steps,
  .gp-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .gp-shell,
  .gp-revamp .main-container.container,
  .gp-revamp .footer.container {
    width: min(calc(100% - 28px), var(--gp-shell));
  }

  .gp-utility-inner {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px 14px;
    padding: 8px 0;
  }

  .gp-brand {
    min-width: 0;
  }

  .gp-brand strong {
    font-size: 18px;
  }

  .gp-hero {
    min-height: 620px;
  }

  .gp-hero-content {
    padding: 52px 0 58px;
  }

  .gp-hero h1 {
    font-size: 46px;
  }

  .gp-hero-copy {
    font-size: 18px;
  }

  .gp-proof-strip,
  .gp-two-column,
  .gp-process-grid,
  .gp-news-grid,
  .gp-contact-grid,
  .gp-form-grid,
  .gp-card-grid,
  .gp-quotes-grid,
  .gp-steps,
  .gp-footer-grid {
    grid-template-columns: 1fr;
  }

  .gp-section {
    padding: 54px 0;
  }

  .gp-revamp .main-container.container {
    margin-top: 28px;
    margin-bottom: 44px;
    padding: 22px;
  }

  .gp-footer-bottom .gp-shell {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }
}

/* ==========================================================================
   Production hardening: modernized frontend, accessibility, print
   ========================================================================== */

/* Mobile navigation: reveal submenus inline when the collapsed menu is open.
   Desktop uses :hover / :focus-within; Bootstrap's base hides .dropdown-menu,
   and there is no jQuery toggle anymore, so expand them here. */
@media (max-width: 1100px) {
  .gp-nav-collapse.in .gp-dropdown {
    display: block;
    border: 0;
    padding: 0 0 0 12px;
    box-shadow: none;
  }
}

/* Visible focus state for form fields (WCAG 2.4.7), matching links/buttons. */
.gp-revamp input[type="text"]:focus,
.gp-revamp input[type="email"]:focus,
.gp-revamp input[type="tel"]:focus,
.gp-revamp input[type="search"]:focus,
.gp-revamp textarea:focus,
.gp-revamp select:focus,
.gp-revamp .form-control:focus {
  outline: 2px solid var(--gp-wine);
  outline-offset: 2px;
  border-color: var(--gp-wine);
}

/* Clients logo wall: the legacy jQuery carousel is replaced by a static,
   responsive grid of client logos; the now-inert pager is hidden. */
#carousel-wrapper #pager {
  display: none;
}

#carousel-wrapper #carousel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 28px 36px;
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}

#carousel-wrapper #carousel > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 200px;
  text-align: center;
}

#carousel-wrapper #carousel img {
  max-width: 100%;
  height: auto;
}

/* Newsletter CTA that replaced the defunct ConstantContact signup form. */
.gp-newsletter-note {
  margin: 0;
}

/* Cloudflare Turnstile widget spacing inside forms. */
.gp-turnstile-wrap {
  margin: 4px 0 20px;
}

/* Slightly stronger contrast for low-opacity text on dark surfaces. */
.gp-utility-bar {
  color: rgba(255, 255, 255, 0.92);
}

.gp-hero .gp-eyebrow {
  color: #9cc2f0;
}

/* Respect reduced-motion preferences. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Print: drop site chrome and sidebars, keep the article content. */
@media print {
  .gp-site-header,
  .gp-site-footer,
  .gp-utility-bar,
  .gp-skip-link,
  .region-sidebar-first,
  .region-sidebar-second,
  .gp-cta-band,
  .cf-turnstile {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .gp-revamp .main-container.container {
    width: auto;
    margin: 0;
    padding: 0;
    box-shadow: none;
  }
}

/* ==========================================================================
   Homepage — bespoke sections (hero credential band, image split,
   leadership feature, proof / client logos)
   ========================================================================== */

/* Hero stacks the message above a credential band. */
.gp-hero {
  flex-direction: column;
  justify-content: center;
  padding: 0;
}

.gp-hero-content {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.gp-hero-content.gp-shell,
.gp-credential-row.gp-shell {
  width: min(calc(100% - 48px), var(--gp-shell));
}

.gp-hero h1 {
  font-size: clamp(38px, 5.2vw, 66px);
  line-height: 1.04;
  letter-spacing: 0;
}

.gp-hero-credentials {
  position: relative;
  z-index: 1;
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(8, 16, 30, 0.32);
}

.gp-credential-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 0;
}

.gp-credential-row > div {
  padding: 26px 30px 28px 0;
  color: #fff;
}

.gp-credential-row > div + div {
  padding-left: 30px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.gp-credential-row strong {
  display: block;
  font-size: 19px;
  letter-spacing: 0.01em;
}

.gp-credential-row span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.45;
}

/* Image + text split */
.gp-split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.gp-split-media img {
  width: 100%;
  height: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: var(--gp-shadow);
}

.gp-split-body h2 {
  margin-top: 6px;
}

.gp-checklist {
  margin: 22px 0 24px;
  padding: 0;
  list-style: none;
}

.gp-checklist li {
  position: relative;
  padding: 8px 0 8px 30px;
  border-top: 1px solid var(--gp-line);
  color: var(--gp-ink);
}

.gp-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 16px;
  height: 9px;
  border-left: 2.5px solid var(--gp-gold);
  border-bottom: 2.5px solid var(--gp-gold);
  transform: rotate(-45deg);
}

.gp-textlink {
  display: inline-block;
  font-weight: 700;
  color: var(--gp-wine);
}

/* Service cards — indexed */
.gp-service-card {
  display: flex;
  flex-direction: column;
  position: relative;
}

.gp-card-index {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gp-gold);
}

.gp-service-card h3 {
  margin: 10px 0 8px;
}

.gp-service-card p {
  flex: 1 1 auto;
}

.gp-service-card .gp-textlink {
  margin-top: 14px;
}

/* Leadership feature band (navy) */
.gp-leader {
  background: var(--gp-ink);
  color: #fff;
  padding: 76px 0;
}

.gp-leader-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 56px;
  align-items: center;
}

.gp-leader-media {
  margin: 0;
}

.gp-leader-media img {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.gp-leader-body h2 {
  color: #fff;
  max-width: 18ch;
}

.gp-leader-body > p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  max-width: 60ch;
}

.gp-leader-body a {
  color: #fff;
  text-decoration: underline;
}

.gp-eyebrow-light {
  color: #9cc2f0;
}

.gp-leader-quote {
  margin: 26px 0 0;
  padding-left: 22px;
  border-left: 3px solid var(--gp-gold);
}

.gp-leader-quote p {
  margin: 0;
  font-size: 20px;
  font-style: italic;
  line-height: 1.5;
  color: #fff;
}

.gp-leader-quote cite {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-style: normal;
}

.gp-leader-badge {
  height: 64px;
  width: auto;
  margin-top: 30px;
  background: #fff;
  padding: 8px 12px;
  border-radius: 6px;
}

/* Proof — testimonial + client logos */
.gp-proof {
  background: var(--gp-paper);
  text-align: center;
}

.gp-proof-quote {
  max-width: 880px;
  margin: 0 auto;
}

.gp-proof-quote p {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--gp-ink);
}

.gp-proof-quote cite {
  display: block;
  margin-top: 22px;
  color: var(--gp-muted);
  font-size: 15px;
  font-style: normal;
  font-weight: 700;
}

.gp-clients {
  margin-top: 54px;
  padding-top: 38px;
  border-top: 1px solid var(--gp-line);
}

.gp-clients-label {
  margin: 0 0 22px;
  color: var(--gp-muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.gp-client-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 44px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gp-client-logos img {
  height: 52px;
  width: auto;
  filter: grayscale(1);
  opacity: 0.7;
  transition: filter 0.2s ease, opacity 0.2s ease;
}

.gp-client-logos img:hover {
  filter: grayscale(0);
  opacity: 1;
}

@media (max-width: 900px) {
  .gp-split-grid,
  .gp-leader-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .gp-split-media {
    order: -1;
  }

  .gp-leader-media img {
    max-width: 280px;
  }
}

@media (max-width: 760px) {
  .gp-hero-content.gp-shell,
  .gp-credential-row.gp-shell {
    width: min(calc(100% - 28px), var(--gp-shell));
  }

  .gp-credential-row {
    grid-template-columns: 1fr;
  }

  .gp-credential-row > div {
    padding: 16px 0;
  }

  .gp-credential-row > div + div {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }
}
