/* Editorial Hero: foreground copy and CTA remain clear of a square project marquee. */
.home .elementor-element.elementor-element-14c58ebb:has(.gjc-hero) {
  display: block;
  width: 100%;
  min-height: 0;
  padding: 0;
}

.home .elementor-element.elementor-element-14c58ebb:has(.gjc-hero) > .elementor-element-5c0fcda6,
.home .elementor-element.elementor-element-14c58ebb:has(.gjc-hero) > .elementor-element-248b0638,
.home .elementor-element.elementor-element-14c58ebb:has(.gjc-hero) > .elementor-element-42e00238,
.home .elementor-element.elementor-element-14c58ebb:has(.gjc-hero) > .elementor-element-821aded,
.home .elementor-element.elementor-element-14c58ebb:has(.gjc-hero) > .elementor-element-dfb06a7 {
  display: none;
}

.home .gjc-hero {
  --gjc-hero-card-size: clamp(7rem, 10vw, 11rem);
  --gjc-hero-gap: 1rem;
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  padding-top: clamp(6.5rem, 10vw, 10rem);
  overflow: hidden;
}

.home .gjc-hero__copy {
  width: min(100% - 2.5rem, 54rem);
  margin-inline: auto;
  text-align: center;
}

.home .gjc-hero__overline {
  margin: 0 0 1.25rem;
  color: var(--e-global-color-text);
  font-family: var(--e-global-typography-accent-font-family);
  font-size: var(--e-global-typography-accent-font-size, 0.75rem);
  font-weight: var(--e-global-typography-accent-font-weight);
  line-height: var(--e-global-typography-accent-line-height, 1.2);
  text-transform: uppercase;
}

.home .gjc-hero__heading {
  max-width: 10.5ch;
  margin: 0 auto;
  color: var(--e-global-color-primary);
  font-family: var(--e-global-typography-primary-font-family);
  font-size: var(--gjc-home-type-hero);
  font-weight: var(--e-global-typography-primary-font-weight);
  font-style: var(--e-global-typography-primary-font-style);
  line-height: var(--gjc-home-leading-display);
  letter-spacing: var(--e-global-typography-primary-letter-spacing);
  text-transform: var(--e-global-typography-primary-text-transform);
}

.home .gjc-hero__description {
  max-width: 32rem;
  margin: 1.5rem auto 0;
  color: var(--e-global-color-text);
  font-family: var(--e-global-typography-text-font-family);
  font-size: var(--gjc-home-type-lead);
  font-weight: var(--e-global-typography-text-font-weight);
  font-style: var(--e-global-typography-text-font-style);
  line-height: var(--e-global-typography-text-line-height, 1.6);
  letter-spacing: var(--e-global-typography-text-letter-spacing);
}

.home .gjc-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.375rem;
  margin-top: 1.75rem;
  padding: 0.875rem 1.375rem;
  color: var(--e-global-color-900224d, Canvas);
  background: var(--e-global-color-accent);
  border-radius: 0.5rem;
  font-family: var(--e-global-typography-primary-font-family);
  font-size: var(--gjc-home-type-ui);
  font-weight: var(--e-global-typography-primary-font-weight);
  line-height: 1.2;
  text-decoration: none;
}

.home .gjc-hero__cta:hover,
.home .gjc-hero__cta:focus-visible {
  color: var(--e-global-color-900224d, Canvas);
  background: var(--e-global-color-secondary);
}

.home .gjc-hero__cta:focus-visible,
.home .gjc-hero__project-link:focus-visible {
  outline: 0.1875rem solid var(--e-global-color-accent);
  outline-offset: 0.1875rem;
}

.home .gjc-hero__marquee {
  width: 100%;
  margin-top: clamp(4rem, 6vw, 6rem);
  overflow: hidden;
}

.home .gjc-hero__track,
.home .gjc-hero__group {
  display: flex;
  align-items: center;
}

.home .gjc-hero__group {
  gap: var(--gjc-hero-gap);
  padding-right: var(--gjc-hero-gap);
}

.home .gjc-hero__track {
  width: max-content;
  will-change: transform;
  cursor: grab;
  touch-action: pan-y;
}

.home .gjc-hero.is-dragging .gjc-hero__track {
  cursor: grabbing;
  user-select: none;
}

.home .gjc-hero__project {
  flex: 0 0 var(--gjc-hero-card-size);
  width: var(--gjc-hero-card-size);
  margin: 0;
}

.home .gjc-hero__project-link {
  display: block;
  overflow: hidden;
  border-radius: 0.5rem;
  line-height: 0;
}

.home .gjc-hero__project-image {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.home .gjc-hero__notice {
  margin: 0;
  color: var(--e-global-color-text);
  font-family: var(--e-global-typography-text-font-family);
}

@media (max-width: 48rem) {
  .home .gjc-hero {
    --gjc-hero-card-size: min(34vw, 9rem);
    --gjc-hero-gap: 0.75rem;
    padding-top: 5rem;
  }

  .home .gjc-hero__copy {
    width: min(100% - 2rem, 31rem);
  }

  .home .gjc-hero__heading {
    max-width: 10.5ch;
  }

  .home .gjc-hero__description {
    margin-top: 1rem;
  }

  .home .gjc-hero__marquee {
    margin-top: 3rem;
  }
}

/* Hero editorial elements: status, project proof, and an image-integrated display line. */
.home .gjc-hero {
  padding-top: clamp(5.25rem, 8vw, 8rem);
}

.home .gjc-hero__copy {
  width: min(100% - 2.5rem, 60rem);
}

.home .gjc-hero__overline {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  margin: 0;
  padding: 0.45rem 0.75rem;
  color: var(--e-global-color-text);
  background: color-mix(in srgb, var(--e-global-color-primary) 5%, transparent);
  border: 0.0625rem solid color-mix(in srgb, var(--e-global-color-primary) 10%, transparent);
  border-radius: 999rem;
  font-size: var(--e-global-typography-accent-font-size, 0.6875rem);
  font-weight: 700;
  letter-spacing: 0;
}

.home .gjc-hero__overline > span {
  display: block;
  width: 0.44rem;
  aspect-ratio: 1;
  background: var(--e-global-color-accent);
  border-radius: 50%;
}

.home .gjc-hero__trust {
  display: inline-flex;
  gap: 0.65rem;
  align-items: center;
  margin: 1.25rem auto 1.5rem;
  color: var(--e-global-color-text);
  font-family: var(--e-global-typography-text-font-family);
  font-size: var(--e-global-typography-text-font-size, 0.875rem);
  line-height: 1.2;
}

.home .gjc-hero__trust-stack {
  display: inline-flex;
  flex-direction: row-reverse;
  align-items: center;
  padding-left: 0.55rem;
}

.home .gjc-hero__trust-image {
  display: block;
  width: 1.85rem;
  aspect-ratio: 1;
  margin-left: -0.55rem;
  object-fit: cover;
  border: 0.125rem solid var(--e-global-color-900224d, Canvas);
  border-radius: 50%;
}

.home .gjc-hero__heading {
  display: grid;
  max-width: 100%;
  gap: 0.02em;
  margin: 0 auto;
  line-height: 0.98;
}

.home .gjc-hero__heading-line {
  display: block;
  white-space: nowrap;
}

.home .gjc-hero__heading-line--focus {
  display: inline-flex;
  gap: 0.16em;
  align-items: center;
  justify-content: center;
}

.home .gjc-hero__headline-tile {
  display: inline-block;
  flex: 0 0 0.8em;
  width: 0.8em;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 0.5rem;
  box-shadow: 0 0.2rem 0.7rem color-mix(in srgb, var(--e-global-color-primary) 14%, transparent);
}

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

.home .gjc-hero__heading-word {
  color: var(--e-global-color-accent);
}

.home .gjc-hero__description {
  max-width: 35rem;
  margin-top: 1.25rem;
}

.home .gjc-hero__cta {
  gap: 0.6rem;
  min-height: 3.25rem;
  margin-top: 1.5rem;
}

.home .gjc-hero__cta-icon {
  line-height: 1;
  transition: transform 180ms ease;
}

.home .gjc-hero__cta:hover .gjc-hero__cta-icon,
.home .gjc-hero__cta:focus-visible .gjc-hero__cta-icon {
  transform: translate(0.12rem, -0.12rem);
}

.home .gjc-hero__marquee {
  margin-top: clamp(3.5rem, 5vw, 5rem);
}

@media (max-width: 48rem) {
  .home .gjc-hero {
    padding-top: 4.5rem;
  }

  .home .gjc-hero__copy {
    width: min(100% - 2rem, 31rem);
  }

  .home .gjc-hero__trust {
    margin-block: 1rem 1.25rem;
  }

  .home .gjc-hero__heading {
    gap: 0.05em;
  }

  .home .gjc-hero__heading-line {
    white-space: normal;
  }

  .home .gjc-hero__heading-line--focus {
    flex-wrap: wrap;
    gap: 0.12em;
  }

  .home .gjc-hero__headline-tile {
    flex-basis: 0.72em;
    width: 0.72em;
  }

  .home .gjc-hero__description {
    margin-top: 1rem;
  }

  .home .gjc-hero__marquee {
    margin-top: 3.25rem;
  }
}

/* Compact editorial command shared by both Hero actions. */
.home .gjc-hero__cta {
  min-height: 3rem;
  padding: 0.75rem 1.125rem;
  color: var(--e-global-color-900224d, Canvas);
  background: var(--e-global-color-primary);
  border: 0.0625rem solid var(--e-global-color-primary);
  border-radius: 0.5rem;
  box-shadow: none;
  font-family: var(--e-global-typography-01c88e1-font-family, sans-serif);
  font-size: var(--e-global-typography-01c88e1-font-size, 0.875rem);
  font-weight: var(--e-global-typography-01c88e1-font-weight, 700);
  line-height: var(--e-global-typography-01c88e1-line-height, 1.2);
  letter-spacing: var(--e-global-typography-01c88e1-letter-spacing, 0);
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.home .gjc-hero__cta:hover,
.home .gjc-hero__cta:focus-visible {
  color: var(--e-global-color-900224d, Canvas);
  background: var(--e-global-color-accent);
  border-color: var(--e-global-color-accent);
  box-shadow: 0 0.7rem 1.5rem color-mix(in srgb, var(--e-global-color-accent) 30%, transparent);
  transform: translateY(-0.125rem);
}

.home .gjc-hero__cta:active {
  box-shadow: none;
  transform: translateY(0);
}

.home .gjc-hero__cta[aria-disabled='true'] {
  pointer-events: none;
  cursor: not-allowed;
  opacity: 0.46;
  box-shadow: none;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .home .gjc-hero__cta,
  .home .gjc-hero__cta-icon {
    transition: none;
  }
}

/* Text-first Hero: one proof pill, no imagery in the display heading. */
.home .gjc-hero__overline {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  min-height: 1.9rem;
  margin: 0 0 1.5rem;
  padding: 0.5rem 0.75rem;
  color: var(--e-global-color-accent);
  background: var(--e-global-color-900224d, #ffffff);
  border: 0.0625rem solid color-mix(in srgb, var(--e-global-color-accent) 18%, transparent);
  border-radius: 999rem;
  font-size: var(--e-global-typography-accent-font-size, 0.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
}

.home .gjc-hero__overline-icon {
  display: block;
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
}

.home .gjc-hero__overline > span,
.home .gjc-hero__trust,
.home .gjc-hero__headline-tile {
  display: none;
}

.home .gjc-hero__heading-line--focus {
  gap: 0.14em;
}

/* Two independent project lanes meet the viewport through white edge fades. */
.home .gjc-hero__marquees {
  display: grid;
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
  margin-top: clamp(3.5rem, 5vw, 5rem);
}

.home .gjc-hero__marquee {
  position: relative;
  margin-top: 0;
  overflow: hidden;
  isolation: isolate;
}

.home .gjc-hero__marquee::before,
.home .gjc-hero__marquee::after {
  position: absolute;
  z-index: 2;
  inset-block: 0;
  width: clamp(2.5rem, 9vw, 11rem);
  content: '';
  pointer-events: none;
}

.home .gjc-hero__marquee::before {
  inset-inline-start: 0;
  background: linear-gradient(90deg, var(--e-global-color-900224d, Canvas) 0%, color-mix(in srgb, var(--e-global-color-900224d, Canvas) 72%, transparent) 42%, transparent 100%);
}

.home .gjc-hero__marquee::after {
  inset-inline-end: 0;
  background: linear-gradient(270deg, var(--e-global-color-900224d, Canvas) 0%, color-mix(in srgb, var(--e-global-color-900224d, Canvas) 72%, transparent) 42%, transparent 100%);
}

.home .gjc-hero__marquee.is-dragging .gjc-hero__track {
  cursor: grabbing;
  user-select: none;
}

@media (max-width: 48rem) {
  .home .gjc-hero__overline {
    margin-bottom: 1.125rem;
  }

  .home .gjc-hero__marquees {
    gap: 0.75rem;
    margin-top: 3.25rem;
  }

  .home .gjc-hero__marquee::before,
  .home .gjc-hero__marquee::after {
    width: 3.25rem;
  }
}

/* Project cards are native links; the moving lanes are not draggable. */
.home .gjc-hero__track {
  cursor: default;
  touch-action: pan-y;
}

.home .gjc-hero__project-link {
  cursor: pointer;
}

/* Hero copy: one semantic headline with a highlighted phrase and two clear actions. */
.home .gjc-hero__heading {
  display: block;
  max-width: 18ch;
}

.home .gjc-hero__heading-word {
  display: inline-block;
  white-space: nowrap;
}

.home .gjc-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.home .gjc-hero__actions .gjc-hero__cta {
  gap: 0.6rem;
  margin-top: 0;
}

.home .gjc-hero__cta--secondary {
  color: var(--e-global-color-primary);
  background: transparent;
  border: 0.0625rem solid color-mix(in srgb, var(--e-global-color-primary) 38%, transparent);
  box-shadow: none;
}

.home .gjc-hero__cta--secondary:hover,
.home .gjc-hero__cta--secondary:focus-visible {
  color: var(--e-global-color-900224d, Canvas);
  background: var(--e-global-color-accent);
  border-color: var(--e-global-color-accent);
  box-shadow: 0 0.7rem 1.5rem color-mix(in srgb, var(--e-global-color-accent) 30%, transparent);
}

@media (max-width: 48rem) {
  .home .gjc-hero__heading {
    max-width: 13ch;
  }

  .home .gjc-hero__actions {
    gap: 0.625rem;
    margin-top: 1.25rem;
  }

  .home .gjc-hero__actions .gjc-hero__cta {
    min-height: 3rem;
    padding-inline: 1.125rem;
  }
}

/* Semantic icons keep the command hierarchy clear. */
.home .gjc-hero__actions .gjc-hero__cta {
  white-space: nowrap;
}

.home .gjc-hero__cta-icon {
  display: block;
  flex: 0 0 auto;
  width: 1.5rem;
  height: 1.5rem;
  line-height: 1;
  transition: transform 180ms ease, filter 180ms ease;
}

.home .gjc-hero__cta-icon--project {
  stroke: currentColor;
}

.home .gjc-hero__cta--secondary {
  gap: 0.65rem;
}

.home .gjc-hero__cta-icon--contact {
  width: 1.5rem;
  height: 1.5rem;
  object-fit: contain;
}

.home .gjc-hero__cta--secondary:hover .gjc-hero__cta-icon--contact,
.home .gjc-hero__cta--secondary:focus-visible .gjc-hero__cta-icon--contact {
  filter: brightness(0) invert(1);
}

@media (max-width: 48rem) {
  .home .gjc-hero__actions .gjc-hero__cta {
    min-height: 3rem;
  }
}

/* The page container owns the outer band; keep Hero copy compact within it. */
.home .gjc-hero {
  padding-top: clamp(3.75rem, 5vw, 6rem);
}

@media (max-width: 48rem) {
  .home .gjc-hero {
    padding-top: 3.5rem;
  }
}

/* A quiet editorial hierarchy keeps Hero focused on the statement. */
.home .gjc-hero__overline {
  gap: 0.55rem;
  min-height: 2.125rem;
  padding: 0.5rem 0.8rem;
  color: var(--e-global-color-primary);
  background: color-mix(in srgb, var(--e-global-color-900224d, #fff) 94%, var(--e-global-color-primary, #050505));
  border: 0;
  font-size: var(--e-global-typography-accent-font-size, 0.75rem);
  font-weight: 600;
}

.home .gjc-hero__overline > .gjc-hero__overline-marker {
  display: block;
  flex: 0 0 auto;
  width: 0.45rem;
  aspect-ratio: 1;
  background: currentColor;
  border-radius: 50%;
}

.home .gjc-hero__heading {
  max-width: 18.5ch;
  color: var(--e-global-color-primary);
  font-weight: var(--e-global-typography-primary-font-weight, 700);
  line-height: var(--gjc-home-leading-display);
}

.home .gjc-hero__heading-word {
  color: inherit;
  font-weight: inherit;
}

.home .gjc-hero__description {
  max-width: 34rem;
  margin-top: 1.25rem;
}

.home .gjc-hero__actions {
  gap: 0.625rem;
  margin-top: 1.75rem;
}

.home .gjc-hero__cta--secondary .gjc-hero__cta-icon--contact {
  color: currentColor;
  stroke: currentColor;
  filter: none;
}

.home .gjc-hero__cta--secondary:hover .gjc-hero__cta-icon--contact,
.home .gjc-hero__cta--secondary:focus-visible .gjc-hero__cta-icon--contact {
  filter: none;
  transform: scale(1.05);
}

@media (max-width: 48rem) {
  .home .gjc-hero__overline {
    min-height: 2rem;
    margin-bottom: 1.25rem;
  }

  .home .gjc-hero__actions {
    margin-top: 1.5rem;
  }
}

/* A wide desktop copy rail lets the title and supporting copy settle into balanced measures. */
@media (min-width: 80rem) {
  .home .gjc-hero__copy {
    width: min(100% - 2.5rem, 75rem);
  }

  .home .gjc-hero__heading {
    max-width: 25ch;
    text-wrap: balance;
  }

  .home .gjc-hero__description {
    max-width: 40rem;
    text-wrap: balance;
    white-space: normal;
  }
}

/* Connected availability pill shared by the Hero and primary section labels. */
.home .gjc-hero__overline {
  position: relative;
  gap: 0.55rem;
  min-height: 2.125rem;
  padding: 0.5rem 0.8rem;
  color: var(--e-global-color-primary, #050505);
  background: var(--e-global-color-900224d, #ffffff);
  border: 0.0625rem solid color-mix(in srgb, var(--e-global-color-primary, #050505) 12%, transparent);
  border-radius: 999rem;
  box-shadow: 0 0.35rem 0.9rem color-mix(in srgb, var(--e-global-color-primary, #050505) 9%, transparent);
  font-size: var(--e-global-typography-accent-font-size, 0.75rem);
  font-weight: 700;
}

.home .gjc-hero__overline > .gjc-hero__overline-marker {
  position: relative;
  z-index: 1;
  display: block;
  width: 0.45rem;
  background: var(--e-global-color-accent, #e3185c);
  box-shadow: 0 0 0 0.16rem color-mix(in srgb, var(--e-global-color-accent, #e3185c) 18%, transparent);
}

.home .gjc-hero__overline::after {
  position: absolute;
  top: 50%;
  left: 0.8rem;
  width: 0.45rem;
  aspect-ratio: 1;
  content: '';
  pointer-events: none;
  border: 0.0625rem solid color-mix(in srgb, var(--e-global-color-accent, #e3185c) 52%, transparent);
  border-radius: 50%;
  opacity: 0.5;
  transform: translateY(-50%) scale(1);
}

@media (prefers-reduced-motion: no-preference) {
  .home .gjc-hero__overline::after {
    animation: gjc-hero-connected-ping 2.4s ease-out infinite;
  }
}

@keyframes gjc-hero-connected-ping {
  0% { opacity: 0.55; transform: translateY(-50%) scale(1); }
  72%, 100% { opacity: 0; transform: translateY(-50%) scale(2.6); }
}









/* Homepage Hero copy uses stable phrase groups instead of viewport-dependent wrapping. */
.home .gjc-hero__copy {
  width: min(100% - 2.5rem, 68rem);
}

.home .gjc-hero__heading {
  max-width: 23ch;
  line-height: 1.04;
  text-wrap: balance;
}

@media (min-width: 80rem) {
  .home .gjc-hero__heading { max-width: 23ch; }
}

@media (max-width: 48rem) {
  .home .gjc-hero__heading-word { white-space: normal; }
}
