@font-face {
  font-family: "Outfit";
  src: url("fonts/Outfit-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

/* Theme isolation: only the page containing the V2 shortcode is affected. */
body.gp-home-v2-page {
  --gp-blue: #0b4fe5;
  --gp-blue-dark: #0639ad;
  --gp-blue-light: #89caff;
  --gp-field: #edf7ff;
  --gp-green-dark: #04624c;
  --gp-green: #0cbd8a;
  --gp-ink: #071224;
  --gp-muted: #58677c;
  --gp-line: rgba(7, 18, 36, 0.16);
  --gp-white: #ffffff;
  --gp-shell: min(1280px, calc(100% - 96px));
  --gp-radius: 2px;
  --gp-section-y: clamp(96px, 8vw, 128px);
  --gp-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gp-motion-micro: 170ms;
  --gp-motion-state: 260ms;
  --gp-motion-reveal: 520ms;
  --gp-motion-structural: 920ms;
  margin: 0;
  background: var(--gp-white);
  container-type: inline-size;
  overflow-x: clip;
}

html:has(body.gp-home-v2-page) {
  overflow-x: clip;
}

body.gp-home-v2-page .wp-site-blocks {
  padding: 0 !important;
}

body.gp-home-v2-page header.wp-block-template-part,
body.gp-home-v2-page footer.wp-block-template-part,
body.gp-home-v2-page .wp-site-blocks > .wp-block-group:has(> header.wp-block-template-part),
body.gp-home-v2-page .wp-site-blocks > .wp-block-group > .wp-block-group > .wp-block-group:has(header.wp-block-template-part),
body.gp-home-v2-page .wp-block-post-title,
body.gp-home-v2-page .wp-block-post-featured-image {
  display: none !important;
}

body.gp-home-v2-page #wp--skip-link--target {
  margin-block-start: 0 !important;
}

/* Lativ adds an empty title/spacer row around singular pages. Remove it only
   when it immediately precedes the V2 content, and remove the trailing spacer. */
body.gp-home-v2-page .wp-block-group:has(+ #wp--skip-link--target),
body.gp-home-v2-page .wp-block-post-content + .wp-block-spacer {
  display: none !important;
}

body.gp-home-v2-page .wp-site-blocks > main,
body.gp-home-v2-page .wp-block-post-content,
body.gp-home-v2-page .entry-content {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.gp-home-v2-page :where(.wp-site-blocks, .wp-block-post-content, .entry-content) > * {
  margin-block-start: 0;
  margin-block-end: 0;
}

.gp-home-v2,
.gp-home-v2 *,
.gp-home-v2 *::before,
.gp-home-v2 *::after {
  box-sizing: border-box;
}

.gp-home-v2 {
  position: relative;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  overflow: clip;
  color: var(--gp-ink);
  background: var(--gp-white);
  font-family: "Outfit", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.gp-home-v2 :where(h1, h2, h3, p, ul, ol, dl, dd, figure) {
  margin: 0;
}

.gp-home-v2 :where(a, button, input, select, textarea) {
  font: inherit;
}

.gp-home-v2 a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

.gp-home-v2 img {
  display: block;
  max-width: 100%;
}

.gpv2-shell {
  width: var(--gp-shell);
  margin-inline: auto;
}

/* The production site still carries V4 custom CSS with unscoped gp-* names.
   These resets prevent those legacy declarations from leaking into V2. */
.gp-home-v2 .gp-hero {
  padding: 0;
}

.gp-home-v2 .gp-button-primary {
  color: var(--gp-blue) !important;
}

.gp-home-v2 .gp-proof,
.gp-home-v2 .gp-footer {
  border: 0;
}

.gp-home-v2 .gp-section-intro { margin-bottom: 0; }

.gp-skip-link {
  position: fixed;
  z-index: 100000;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  color: var(--gp-ink);
  background: var(--gp-white);
  border: 2px solid var(--gp-ink);
  transform: translateY(-180%);
}

.gp-skip-link:focus {
  transform: translateY(0);
}

.gp-site-header {
  position: absolute;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  color: var(--gp-white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.admin-bar .gp-site-header {
  top: 32px;
}

.gp-header-inner {
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.gp-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.gp-wordmark-symbol {
  display: grid;
  width: 25px;
  height: 25px;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 2px;
  transform: rotate(-45deg);
}

.gp-wordmark-symbol span {
  display: block;
  border-radius: 1px;
  background: var(--gp-blue-light);
}

.gp-wordmark-symbol span:nth-child(1) {
  grid-column: 1;
  grid-row: 3;
}

.gp-wordmark-symbol span:nth-child(2) {
  grid-column: 2;
  grid-row: 2;
}

.gp-wordmark-symbol span:nth-child(3) {
  grid-column: 3;
  grid-row: 1;
  background: var(--gp-white);
}

.gp-nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
  font-size: 15px;
  font-weight: 540;
}

.gp-nav a {
  text-decoration: none;
}

.gp-nav a:not(.gp-nav-cta) {
  opacity: 0.82;
}

.gp-nav a:hover,
.gp-nav a:focus-visible {
  opacity: 1;
}

.gp-nav-cta {
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
}

.gp-menu-toggle {
  display: none;
}

.gp-hero {
  position: relative;
  min-height: clamp(800px, 92vh, 920px);
  color: var(--gp-white);
  background:
    linear-gradient(112deg, rgba(5, 39, 124, 0.44) 0%, rgba(11, 79, 229, 0) 52%),
    var(--gp-blue);
}

.gp-hero::before,
.gp-hero::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.gp-hero::before {
  top: 18%;
  right: calc(-12vw + 28px);
  width: min(44vw, 640px);
  aspect-ratio: 1;
  border: 1.25px solid rgba(137, 202, 255, 0.22);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.965) translateX(8px);
  transform-origin: center;
  animation: gp-hero-orbit-arrive var(--gp-motion-structural) var(--gp-ease) 140ms both;
}

.gp-hero::after {
  content: none;
}

.gp-hero-grid {
  position: relative;
  z-index: 1;
  display: block;
  padding-block: 190px 68px;
}

.gp-hero-copy {
  max-width: 1120px;
}

.gp-section-index,
.gp-case-category,
.gp-form-heading {
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.115em;
  line-height: 1.3;
  text-transform: uppercase;
}

.gp-hero h1 {
  max-width: 1080px;
  font-size: clamp(72px, 7.4vw, 116px);
  font-weight: 510;
  letter-spacing: -0.066em;
  line-height: 0.9;
}

.gp-hero-lede {
  max-width: 700px;
  margin-top: 36px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(19px, 1.45vw, 22px);
  line-height: 1.48;
}

.gp-button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: var(--gp-radius);
  font-size: 16px;
  font-weight: 620;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}

.gp-button-primary {
  color: var(--gp-blue);
  background: var(--gp-white);
}

.gp-button:hover,
.gp-button:focus-visible {
  background: var(--gp-field);
}

.gp-hero-system {
  position: relative;
  display: flex;
  width: 100%;
  align-items: center;
  gap: 18px;
  margin-top: 72px;
  padding-top: 28px;
  border-top: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(16px, 1.25vw, 20px);
  font-weight: 560;
  line-height: 1.25;
  white-space: nowrap;
}

.gp-hero-system::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.24);
  content: "";
  transform-origin: left;
}

.gp-rail-row { display: contents; }

.gp-hero-system b {
  display: flex;
  min-width: 38px;
  flex: 1 1 70px;
  align-items: center;
  gap: 9px;
  color: var(--gp-blue-light);
  font-size: 0;
  font-weight: 400;
}

.gp-hero-system b::before {
  width: 100%;
  height: 1px;
  background: rgba(137, 202, 255, 0.5);
  content: "";
}

.gp-hero-system b::after {
  content: "→";
  font-size: 18px;
}

.gp-rail-endpoint {
  color: var(--gp-white);
  font-weight: 650;
}

.gp-rail-item {
  opacity: 1;
}

.gp-motion-ready .gp-hero-system.gp-reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.gp-motion-ready .gp-hero-system:not(.is-visible)::before {
  transform: scaleX(0);
}

.gp-motion-ready .gp-hero-system:not(.is-visible) span.gp-rail-item,
.gp-motion-ready .gp-hero-system:not(.is-visible) b::after {
  opacity: 0;
}

.gp-motion-ready .gp-hero-system:not(.is-visible) b::before {
  transform: scaleX(0);
  transform-origin: left;
}

.gp-motion-ready .gp-hero-system.is-visible::before {
  animation: gp-system-axis-in 540ms var(--gp-ease) both;
}

.gp-motion-ready .gp-hero-system.is-visible span.gp-rail-item {
  animation: gp-rail-text-in var(--gp-motion-micro) var(--gp-ease) both;
  animation-delay: calc(420ms + (var(--gp-rail-index, 0) * 70ms));
}

.gp-motion-ready .gp-hero-system.is-visible b::before {
  animation: gp-rail-connector-in 240ms var(--gp-ease) both;
  animation-delay: calc(420ms + (var(--gp-rail-index, 0) * 70ms));
}

.gp-motion-ready .gp-hero-system.is-visible b::after {
  animation: gp-rail-arrow-in var(--gp-motion-micro) var(--gp-ease) both;
  animation-delay: calc(490ms + (var(--gp-rail-index, 0) * 70ms));
}

.gp-proof {
  padding-block: 72px 64px;
  background: var(--gp-white);
}

.gp-proof-heading {
  display: block;
  margin-bottom: 30px;
}

.gp-proof h2 {
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 520;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.gp-marquee {
  width: 100%;
  overflow: hidden;
  border-block: 1px solid var(--gp-line);
  background: var(--gp-white);
}

.gp-marquee-track {
  display: flex;
  width: max-content;
  animation: gp-marquee var(--gp-marquee-duration, 68s) linear infinite;
}

.gp-marquee:hover .gp-marquee-track,
.gp-marquee:focus-within .gp-marquee-track {
  animation-play-state: paused;
}

.gp-logo-group {
  display: flex;
  min-height: 104px;
  align-items: center;
  gap: 72px;
  padding-right: 72px;
}

.gp-logo-frame {
  --logo-source-width: 150px;
  position: relative;
  display: block;
  width: 150px;
  height: 48px;
  flex: 0 0 auto;
  overflow: hidden;
}

.gp-logo-frame img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--logo-source-width);
  max-width: none;
  height: auto;
  opacity: 0.66;
  filter: grayscale(1) contrast(1.28);
  mix-blend-mode: multiply;
  transform: translate(-50%, -50%);
}

.gp-logo--mindbody { --logo-source-width: 86px; width: 88px; }
.gp-logo--classpass { --logo-source-width: 58px; width: 70px; }
.gp-logo--carrefour { --logo-source-width: 76px; width: 84px; }
.gp-logo--prudential { --logo-source-width: 132px; width: 132px; }
.gp-logo--michael-kors { --logo-source-width: 165px; width: 165px; }
.gp-logo--truthscan { --logo-source-width: 211px; width: 164px; }
.gp-logo--hunter-douglas { --logo-source-width: 180px; width: 164px; }
.gp-logo--three-day-blinds { --logo-source-width: 140px; width: 150px; }
.gp-logo--atacadao { --logo-source-width: 100px; width: 108px; }
.gp-logo--undetectable-ai { --logo-source-width: 213px; width: 164px; }
.gp-logo--germanicos { --logo-source-width: 68px; width: 78px; }
.gp-logo--carnavalia { --logo-source-width: 132px; width: 142px; }
.gp-logo--kicheiro { --logo-source-width: 108px; width: 120px; }
.gp-logo--hammerhead { --logo-source-width: 88px; width: 92px; }

.gp-capabilities {
  padding-block: 72px;
  background: var(--gp-field);
}

.gp-section-intro {
  display: block;
}

.gp-section-intro > div {
  max-width: 980px;
}

.gp-section-intro h2,
.gp-work .gp-section-intro > h2,
.gp-contact h2 {
  font-size: clamp(48px, 4.8vw, 72px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.gp-section-intro > div > p {
  max-width: 720px;
  margin-top: 28px;
  color: var(--gp-muted);
  font-size: clamp(18px, 1.45vw, 21px);
  line-height: 1.52;
}

.gp-home-v2 .gp-capability-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: column;
  gap: 0;
  margin-top: 64px;
  padding-top: 0;
  border: 0;
}

.gp-home-v2 .gp-capability-list::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(7, 18, 36, 0.18);
  content: "";
  transform-origin: left;
}

.gp-capability {
  position: relative;
  display: grid;
  grid-row: span 3;
  grid-template-rows: subgrid;
  min-width: 0;
  padding-block: 42px 46px;
  border: 0;
}

.gp-capability:first-child { padding-right: 34px; }
.gp-capability:nth-child(2) { padding-inline: 36px; }
.gp-capability:last-child { padding-left: 36px; }

.gp-capability:not(:last-child)::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 1px;
  height: 100%;
  background: rgba(7, 18, 36, 0.11);
  content: "";
}

.gp-capability-heading {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
}

.gp-capability-number {
  color: var(--gp-blue);
  font-size: 13px;
  font-weight: 650;
}

.gp-capability h3 {
  margin: 0;
  font-size: clamp(28px, 1.95vw, 30px);
  font-weight: 590;
  letter-spacing: -0.045em;
  line-height: 1.06;
}

.gp-capability-description {
  max-width: 37ch;
  padding-top: 24px;
  color: rgba(7, 18, 36, 0.68);
  font-size: 16px;
  line-height: 1.5;
}

.gp-capability ul {
  display: grid;
  align-self: start;
  gap: 13px;
  margin-top: 30px;
  padding: 22px 0 0;
  color: var(--gp-muted);
  border-top: 1px solid rgba(7, 18, 36, 0.11);
  font-size: 14.5px;
  font-weight: 500;
  list-style: none;
}

.gp-motion-ready .gp-capability-system:not(.is-visible)::before {
  transform: scaleX(0);
}

.gp-motion-ready .gp-capability-system:not(.is-visible) .gp-capability {
  opacity: 0;
  transform: translateY(8px);
}

.gp-motion-ready .gp-capability-system:not(.is-visible) .gp-capability::after {
  opacity: 0;
}

.gp-motion-ready .gp-capability-system.is-visible::before {
  animation: gp-system-axis-in 650ms var(--gp-ease) both;
}

.gp-motion-ready .gp-capability-system.is-visible .gp-capability {
  animation: gp-capability-in 480ms var(--gp-ease) both;
}

.gp-motion-ready .gp-capability-system.is-visible .gp-capability:nth-child(1) { animation-delay: 510ms; }
.gp-motion-ready .gp-capability-system.is-visible .gp-capability:nth-child(2) { animation-delay: 590ms; }
.gp-motion-ready .gp-capability-system.is-visible .gp-capability:nth-child(3) { animation-delay: 670ms; }

.gp-motion-ready .gp-capability-system.is-visible .gp-capability:nth-child(1)::after {
  animation: gp-divider-in 400ms var(--gp-ease) 590ms both;
}

.gp-motion-ready .gp-capability-system.is-visible .gp-capability:nth-child(2)::after {
  animation: gp-divider-in 400ms var(--gp-ease) 670ms both;
}

.gp-capability li {
  padding: 0;
  border: 0;
}

.gp-system-conclusion {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 72px;
  padding: 28px 0;
  border-block: 1px solid var(--gp-blue);
  color: var(--gp-blue-dark);
  font-size: 15px;
  font-weight: 590;
}

.gp-system-conclusion b {
  color: var(--gp-blue);
  font-weight: 400;
}

.gp-work {
  padding-block: 72px 24px;
  background: var(--gp-white);
}

.gp-work .gp-section-intro {
  align-items: end;
}

.gp-work .gp-section-intro > h2 {
  max-width: 860px;
}

.gp-case-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(600px, 43.75vw, 630px);
  gap: clamp(64px, 4.72vw, 68px);
  margin-top: 60px;
  align-items: start;
}

.gp-case-category {
  display: inline-block;
  padding-bottom: 8px;
  color: var(--gp-blue);
  border-bottom: 2px solid var(--gp-blue-light);
}

.gp-case-copy h3 {
  max-width: 660px;
  margin-top: 24px;
  font-size: clamp(38px, 3.7vw, 56px);
  font-weight: 500;
  letter-spacing: -0.058em;
  line-height: 1;
}

.gp-case-lede {
  max-width: 620px;
  margin-top: 24px;
  color: var(--gp-muted);
  font-size: 19px;
}

.gp-evidence {
  margin-top: 48px;
  border-top: 1px solid var(--gp-line);
}

.gp-evidence > div {
  display: grid;
  grid-template-columns: 142px 1fr;
  gap: 24px;
  padding-block: 22px;
  border-bottom: 1px solid var(--gp-line);
}

.gp-evidence dt {
  color: var(--gp-blue-dark);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.gp-evidence dd {
  color: var(--gp-muted);
  font-size: 16px;
}

.gp-decision-model {
  padding: 32px 30px 30px;
  border: 1px solid var(--gp-line);
  background: transparent;
}

.gp-decision-model figcaption {
  margin-bottom: 30px;
  padding: 0;
  border: 0;
  color: var(--gp-blue);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.gp-matrix-wrap {
  display: grid;
  grid-template-columns: 24px 1fr;
  grid-template-rows: 1fr auto;
  gap: 10px;
}

.gp-axis {
  color: rgba(6, 45, 129, 0.7);
  font-size: 12px;
  font-weight: 620;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.gp-axis-y {
  align-self: center;
  justify-self: center;
  white-space: nowrap;
  transform: rotate(-90deg);
}

.gp-axis-x {
  grid-column: 2;
  text-align: right;
}

.gp-axis span {
  color: var(--gp-blue);
}

.gp-matrix {
  display: grid;
  min-height: clamp(400px, 32.64vw, 470px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  border-left: 1px solid var(--gp-ink);
  border-bottom: 1px solid var(--gp-ink);
}

.gp-quadrant {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 184px;
  padding: 18px;
  color: var(--gp-blue-dark);
  border-top: 1px solid var(--gp-line);
  border-right: 1px solid var(--gp-line);
  cursor: default;
  transition: color var(--gp-motion-state) var(--gp-ease), background-color var(--gp-motion-state) var(--gp-ease);
}

.gp-quadrant span {
  font-size: clamp(27px, 2vw, 31px);
  font-weight: 520;
  letter-spacing: -0.045em;
}

.gp-quadrant small {
  color: var(--gp-muted);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.gp-quadrant-increase {
  background: rgba(137, 202, 255, 0.12);
}

.gp-quadrant-hold {
  background: rgba(237, 247, 255, 0.36);
}

.gp-quadrant-investigate {
  background: rgba(12, 189, 138, 0.035);
}

.gp-quadrant-reduce {
  background: rgba(7, 18, 36, 0.025);
}

@media (hover: hover) and (pointer: fine) {
  .gp-quadrant:hover {
    color: var(--gp-white);
    background: var(--gp-blue);
  }

  .gp-quadrant:hover small {
    color: rgba(255, 255, 255, 0.78);
  }
}

.gp-contact {
  padding-block: 120px;
  color: var(--gp-white);
  background: var(--gp-blue);
}

.gp-contact-grid {
  display: grid;
  grid-template-columns: minmax(620px, 680px) minmax(500px, 1fr);
  gap: clamp(64px, 6vw, 80px);
  align-items: start;
}

.gp-contact .gp-section-index {
  color: var(--gp-blue-light);
}

.gp-contact h2 {
  max-width: 660px;
  margin-top: 0;
  font-size: clamp(48px, 4.4vw, 67px);
}

.gp-contact h2 span {
  display: block;
  white-space: nowrap;
}

.gp-contact-copy > p {
  max-width: 590px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
  line-height: 1.56;
}

.gp-contact-copy .gp-contact-prompt {
  color: var(--gp-white) !important;
  font-size: 22px;
  font-weight: 540;
}

.gp-form-heading {
  margin-bottom: 24px;
  color: var(--gp-blue-light);
}

.gp-form-shell {
  min-height: 320px;
}

.gp-form-admin-note {
  padding: 22px;
  color: var(--gp-ink);
  background: var(--gp-field);
  border: 1px dashed var(--gp-blue-light);
}

.gp-form-shell :where(form, .wp-block-jetpack-contact-form) {
  display: flex !important;
  width: 100%;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 20px !important;
  margin: 0;
}

.gp-form-shell .wp-block-jetpack-contact-form > * {
  width: 100% !important;
  max-width: none !important;
}

.gp-form-shell :where(.grunion-field-wrap, .wp-block-jetpack-contact-form-container, .contact-form__input-wrapper) {
  margin: 0;
}

.gp-form-shell :where(label, .grunion-field-label) {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 600;
}

.gp-form-shell .grunion-label-required {
  margin-left: 0.22em;
}

.gp-form-shell :where(input:not([type="hidden"]):not([type="submit"]), select, textarea) {
  width: 100%;
  min-height: 54px;
  margin: 0;
  padding: 13px 15px;
  color: var(--gp-ink);
  background: var(--gp-white);
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: var(--gp-radius);
  outline: 0;
  box-shadow: none;
}

.gp-form-shell textarea {
  min-height: 150px;
  resize: vertical;
}

.gp-form-shell :where(input:not([type="hidden"]):not([type="submit"]), select, textarea):focus {
  border-color: var(--gp-blue-light);
  box-shadow: 0 0 0 3px rgba(137, 202, 255, 0.3);
}

.gp-form-shell :where(input, select, textarea)[aria-invalid="true"] {
  border-color: #ffb4ab;
}

.gp-form-shell :where(.field-error, .form-error, .contact-form__error.show-errors, .wp-block-jetpack-contact-form__error) {
  display: block;
  margin-top: 7px;
  color: #ffe0dc;
  font-size: 13px;
}

.gp-form-shell .contact-form__input-error:not(.has-errors),
.gp-form-shell .contact-form__error:not(.show-errors) {
  display: none !important;
}

.gp-form-shell .contact-form__input-error.has-errors {
  display: flex;
}

.gp-form-helper {
  margin-top: 7px !important;
  color: rgba(255, 255, 255, 0.62) !important;
  font-size: 13px !important;
}

.gp-form-shell :where(button[type="submit"], input[type="submit"], .wp-block-button__link) {
  display: inline-flex;
  width: auto;
  min-width: 200px;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  margin: 4px 0 0;
  padding: 14px 22px;
  color: var(--gp-blue);
  background: var(--gp-white);
  border: 1px solid var(--gp-white);
  border-radius: var(--gp-radius);
  font-size: 16px;
  font-weight: 630;
  cursor: pointer;
  transition: color 160ms ease, background-color 160ms ease;
}

.gp-form-shell .wp-block-jetpack-contact-form > .wp-block-button {
  width: auto !important;
  align-self: flex-start;
}

.gp-form-shell .wp-block-button__link {
  width: auto !important;
  max-width: 220px !important;
}

.gp-form-shell :where(button[type="submit"], input[type="submit"], .wp-block-button__link):hover,
.gp-form-shell :where(button[type="submit"], input[type="submit"], .wp-block-button__link):focus-visible {
  color: var(--gp-blue-dark);
  background: var(--gp-field);
}

.gp-form-shell :where(button[type="submit"], input[type="submit"])[disabled],
.gp-form-shell :where(button[type="submit"], input[type="submit"])[aria-disabled="true"] {
  cursor: wait;
  opacity: 0.58;
}

.gp-form-shell :where(.contact-form-submission, .wp-block-jetpack-contact-form__success, .wp-block-jetpack-contact-form-success) {
  padding: 30px;
  color: var(--gp-ink);
  background: var(--gp-field);
  border-left: 4px solid var(--gp-green);
}

.gp-form-shell :where(.contact-form-submission, .wp-block-jetpack-contact-form__success, .wp-block-jetpack-contact-form-success) h3,
.gp-form-shell .gp-success-heading {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 520;
  letter-spacing: -0.045em;
}

.gp-direct-contact {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  font-size: 14px;
}

.gp-direct-contact p {
  color: rgba(255, 255, 255, 0.62);
}

.gp-direct-contact a {
  color: var(--gp-white);
}

.gp-footer {
  padding-block: 28px;
  color: rgba(255, 255, 255, 0.76);
  background: #062d81;
  font-size: 13px;
}

.gp-footer-inner,
.gp-footer-inner > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.gp-footer a {
  color: var(--gp-white);
}

.gp-reveal {
  opacity: 1;
  transform: none;
}

.gp-motion-ready .gp-reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity var(--gp-motion-reveal) var(--gp-ease), transform var(--gp-motion-reveal) var(--gp-ease);
}

.gp-motion-ready .gp-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes gp-marquee {
  to { transform: translateX(-50%); }
}

@keyframes gp-hero-orbit-arrive {
  from { opacity: 0; transform: scale(0.965) translateX(8px); }
  to { opacity: 1; transform: scale(1) translateX(0); }
}

@keyframes gp-system-axis-in {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes gp-rail-text-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes gp-rail-connector-in {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes gp-rail-arrow-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes gp-capability-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes gp-divider-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 1279px) {
  .gp-case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(56px, 5vw, 64px);
  }

  .gp-decision-model { padding: 28px; }
}

@media (max-width: 1180px) {
  body.gp-home-v2-page { --gp-shell: min(100% - 64px, 1120px); }
  .gp-case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; }
  .gp-contact-grid { grid-template-columns: minmax(360px, 0.9fr) minmax(450px, 1.1fr); gap: 56px; }
  .gp-contact h2 span { white-space: normal; }
}

@media (max-width: 960px) {
  .gp-hero-grid { padding-block: 170px 64px; }
  .gp-home-v2 .gp-capability-list {
    grid-template-columns: 1fr;
    grid-auto-flow: row;
  }
  .gp-capability,
  .gp-capability:first-child,
  .gp-capability:nth-child(2),
  .gp-capability:last-child {
    grid-row: auto;
    grid-template-rows: auto;
    padding: 34px 0 38px;
    border-right: 0;
    border-bottom: 1px solid rgba(7, 18, 36, 0.11);
  }
  .gp-capability:last-child { border-bottom: 0; }
  .gp-capability::after { display: none; }
  .gp-capability h3 { margin: 0; }
  .gp-capability-description { padding-top: 18px; }
  .gp-capability ul { margin-top: 28px; }
  .gp-case-grid,
  .gp-contact-grid { grid-template-columns: 1fr; }
  .gp-case-grid { gap: 68px; }
  .gp-decision-model { max-width: 680px; }
  .gp-contact-grid { gap: 68px; }
  .gp-form-column { max-width: 720px; }
}

@media (max-width: 782px) {
  .admin-bar .gp-site-header { top: 46px; }
}

@media (max-width: 720px) {
  body.gp-home-v2-page { --gp-shell: calc(100% - 40px); }
  .gp-home-v2 { font-size: 17px; }
  .gp-header-inner { min-height: 72px; }
  .gp-menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: var(--gp-white);
    background: transparent;
    border: 0;
    cursor: pointer;
  }
  .gp-menu-label { font-size: 14px; font-weight: 560; }
  .gp-menu-icon,
  .gp-menu-icon::before {
    display: block;
    width: 18px;
    height: 1px;
    background: currentColor;
    transition: transform 160ms ease;
  }
  .gp-menu-icon { position: relative; }
  .gp-menu-icon::before { position: absolute; top: -6px; content: ""; }
  .gp-menu-toggle[aria-expanded="true"] .gp-menu-icon { transform: rotate(45deg); }
  .gp-menu-toggle[aria-expanded="true"] .gp-menu-icon::before { top: 0; transform: rotate(90deg); }
  .gp-nav {
    position: absolute;
    top: 72px;
    left: 0;
    display: none;
    width: 100%;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 12px 20px 22px;
    background: var(--gp-blue-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }
  .gp-nav.is-open { display: flex; }
  .gp-nav a { padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
  .gp-nav-cta { border-bottom-color: var(--gp-blue-light) !important; }
  .gp-hero { min-height: 760px; }
  .gp-hero::before { top: 18%; right: -50%; width: 100vw; }
  .gp-hero-grid { padding-block: 136px 56px; }
  .gp-hero h1 { font-size: clamp(50px, 14.8vw, 72px); }
  .gp-hero-lede { margin-top: 28px; font-size: 18px; }
  .gp-button { width: 100%; }
  .gp-hero-system {
    display: grid;
    gap: 12px;
    margin-top: 54px;
    padding-top: 22px;
    font-size: 15px;
    white-space: normal;
  }
  .gp-rail-row { display: grid; align-items: center; gap: 8px; }
  .gp-rail-row:first-child { grid-template-columns: auto minmax(20px, 1fr) auto minmax(20px, 1fr) auto; }
  .gp-rail-row:last-child { grid-template-columns: 20px auto minmax(24px, 1fr) auto; justify-content: start; }
  .gp-hero-system b { min-width: 0; }
  .gp-hero-system b::after { font-size: 15px; }
  .gp-proof { padding-block: 64px 50px; }
  .gp-proof-heading { margin-bottom: 24px; }
  .gp-logo-group { min-height: 96px; gap: 52px; padding-right: 52px; }
  .gp-capabilities,
  .gp-work,
  .gp-contact { padding-block: 88px; }
  .gp-section-intro h2,
  .gp-work .gp-section-intro > h2,
  .gp-contact h2 { font-size: clamp(40px, 12vw, 58px); }
  .gp-home-v2 .gp-capability-list { margin-top: 50px; }
  .gp-case-grid { margin-top: 56px; }
  .gp-evidence > div { grid-template-columns: 1fr; gap: 8px; }
  .gp-matrix-wrap { grid-template-columns: 20px 1fr; gap: 10px; }
  .gp-decision-model { padding: 22px; }
  .gp-matrix { min-height: 380px; }
  .gp-quadrant { min-height: 170px; padding: 15px; }
  .gp-quadrant span { font-size: 21px; }
  .gp-quadrant small { font-size: 9px; }
  .gp-contact-grid { gap: 56px; }
  .gp-contact h2 span { display: inline; }
  .gp-footer-inner { align-items: flex-start; flex-direction: column; }
  .gp-form-shell :where(button[type="submit"], input[type="submit"], .wp-block-button__link) {
    width: 100%;
    min-width: 0;
    max-width: none !important;
  }
  .gp-form-shell .wp-block-jetpack-contact-form > .wp-block-button {
    width: 100% !important;
    align-self: stretch;
  }
  .gp-form-shell .wp-block-button__link {
    width: 100% !important;
    max-width: none !important;
  }
}

@media (max-width: 430px) {
  body.gp-home-v2-page { --gp-shell: calc(100% - 32px); }
  .gp-wordmark { font-size: 20px; }
  .gp-hero h1 { font-size: clamp(50px, 14.8vw, 60px); }
  .gp-hero-system { font-size: 14px; }
  .gp-section-intro h2,
  .gp-work .gp-section-intro > h2,
  .gp-contact h2 { font-size: 42px; }
  .gp-case-copy h3 { font-size: 39px; }
  .gp-matrix { min-height: 350px; }
  .gp-quadrant { min-height: 158px; padding: 12px; }
  .gp-quadrant span { font-size: 18px; }
  .gp-quadrant small { display: none; }
  .gp-axis { font-size: 14px; }
  .gp-footer,
  .gp-footer a { font-size: 14px; }
  .gp-direct-contact { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .gp-home-v2 *,
  .gp-home-v2 *::before,
  .gp-home-v2 *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .gp-reveal { opacity: 1; transform: none; }
  .gp-hero::before {
    opacity: 1;
    transform: none;
    animation: none !important;
  }
  .gp-hero-system::before,
  .gp-hero-system b::before,
  .gp-capability-system::before {
    transform: none;
  }
  .gp-rail-item { opacity: 1; animation: none !important; transform: none; }
  .gp-hero-system b::after,
  .gp-capability,
  .gp-capability::after {
    opacity: 1;
    animation: none !important;
    transform: none;
  }
  .gp-marquee { overflow-x: auto; }
  .gp-marquee-track { width: auto; animation: none; }
  .gp-logo-group[aria-hidden="true"] { display: none; }
  .gp-logo-group { min-width: max-content; }
}

@media print {
  .gp-site-header { position: static; color: var(--gp-ink); background: var(--gp-white); }
  .gp-menu-toggle { display: none; }
  .gp-hero, .gp-contact { color: var(--gp-ink); background: var(--gp-white); }
  .gp-marquee-track { animation: none; }
  .gp-logo-group[aria-hidden="true"] { display: none; }
  .gp-reveal { opacity: 1; transform: none; }
}
