/* ==========================================================================
   GS Graphx — Unified Architectural Line-Art Visuals for #partnership Cards
   Matches the exact fine-stroke (1.5px), dual-tone, smooth-motion language
   of the Services specialty & journey icons across Dark, White & Lime cards.
   ========================================================================== */

.m-partner-tile__viz--unified {
  position: relative;
  display: grid !important;
  place-items: center !important;
  width: 100%;
  min-height: clamp(160px, 16vw, 220px);
  padding: 12px 0;
  margin: auto 0;
  direction: ltr;
}

.gs-pt-svg {
  width: min(100%, 270px);
  height: auto;
  overflow: visible;
  display: block;
}

/* Theme tokens per card surface */
.m-partner-tile--dark {
  --pt-main: #ffffff;
  --pt-soft: rgba(255, 255, 255, 0.24);
  --pt-fill: rgba(255, 255, 255, 0.05);
  --pt-accent: #b6f419;
  --pt-accent-soft: rgba(182, 244, 25, 0.16);
  --pt-badge-bg: #b6f419;
  --pt-badge-ink: #121518;
  --pt-surface: #0b0d10;
}

.m-partner-tile--white {
  --pt-main: #121518;
  --pt-soft: rgba(18, 21, 24, 0.24);
  --pt-fill: rgba(18, 21, 24, 0.045);
  --pt-accent: #7ea80a;
  --pt-accent-fill: #b6f419;
  --pt-accent-soft: rgba(182, 244, 25, 0.34);
  --pt-badge-bg: #121518;
  --pt-badge-ink: #b6f419;
  --pt-surface: #ffffff;
}

.m-partner-tile--green {
  --pt-main: #121518;
  --pt-soft: rgba(18, 21, 24, 0.28);
  --pt-fill: rgba(18, 21, 24, 0.08);
  --pt-accent: #121518;
  --pt-accent-soft: rgba(18, 21, 24, 0.16);
  --pt-badge-bg: #121518;
  --pt-badge-ink: #ffffff;
  --pt-surface: #b6f419;
}

/* Shared architectural stroke classes */
.gs-pt-main {
  stroke: var(--pt-main);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.gs-pt-soft {
  stroke: var(--pt-soft);
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.gs-pt-fill {
  fill: var(--pt-fill);
  stroke: none;
}

.gs-pt-accent {
  stroke: var(--pt-accent);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.gs-pt-accent-fill {
  fill: var(--pt-accent-fill, var(--pt-accent));
  stroke: none;
}

.gs-pt-accent-soft {
  fill: var(--pt-accent-soft);
  stroke: none;
}

.gs-pt-badge-bg {
  fill: var(--pt-badge-bg);
  stroke: var(--pt-surface);
  stroke-width: 2.5;
}

.gs-pt-badge-ink {
  stroke: var(--pt-badge-ink);
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.gs-pt-badge-dot {
  fill: var(--pt-badge-ink);
  stroke: none;
}

.gs-pt-surface-fill {
  fill: var(--pt-surface);
}

/* Smooth GS Graphx Micro-Animations */
.gs-pt-spin-slow {
  transform-box: fill-box;
  transform-origin: center;
  animation: gsPtSpin 20s linear infinite;
}

.gs-pt-spin-rev {
  transform-box: fill-box;
  transform-origin: center;
  animation: gsPtSpin 26s linear infinite reverse;
}

.gs-pt-breathe {
  transform-box: fill-box;
  transform-origin: center;
  animation: gsPtBreathe 3.6s ease-in-out infinite;
}

.gs-pt-float {
  transform-box: fill-box;
  transform-origin: center;
  animation: gsPtFloat 3.4s ease-in-out infinite;
}

.gs-pt-dash {
  stroke-dasharray: 4 5;
  animation: gsPtDash 14s linear infinite;
}

.gs-pt-pulse-ring {
  transform-box: fill-box;
  transform-origin: center;
  animation: gsPtPulseRing 3s ease-out infinite;
}

@keyframes gsPtSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes gsPtBreathe {
  0%, 100% { transform: scale(0.95); opacity: 0.85; }
  50% { transform: scale(1.06); opacity: 1; }
}

@keyframes gsPtFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes gsPtDash {
  to { stroke-dashoffset: -90; }
}

@keyframes gsPtPulseRing {
  0% { transform: scale(0.88); opacity: 0.7; }
  70% { transform: scale(1.26); opacity: 0; }
  100% { transform: scale(1.26); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .gs-pt-svg * {
    animation: none !important;
  }
}

/* ==========================================================================
   #work Orbital Section Polish: Header Breathing Room + Enlarged Center Icons
   ========================================================================== */
@media (min-width: 1024px) {
  .o-work .m-work {
    --work-circle: clamp(410px, min(49vw, 77vh), 1240px);
  }
  .o-work .m-work__bg-wrap,
  .o-work .m-work-card {
    top: calc(50% + 18px);
  }
  .o-work .m-work-card__ellipse {
    transform: scale(0.92);
  }
  .o-work .m-work-card:hover .m-work-card__ellipse {
    transform: scale(0.96);
  }
}

.o-work .m-work-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.o-work .m-work-card__icon svg {
  width: clamp(36px, 2.7vw, 46px) !important;
  height: clamp(36px, 2.7vw, 46px) !important;
  filter: drop-shadow(0 0 14px rgba(182, 244, 25, 0.28));
}

/* Floating GS Graphx emblem in #work finale cursor trail (no photo cards) */
.m-work-final__trail-shot {
  width: clamp(44px, 3.6vw, 62px) !important;
  height: auto !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  filter: none !important;
}

/* Exact brand lime (#b6f419) for bottom side-nav toggle & 2-line circular CTA */
.o-side-nav:not(.is-open) .o-side-nav__toggle {
  background: #b6f419 !important;
  background-color: #b6f419 !important;
}
.m-work-final__cta .a-btn__text {
  white-space: nowrap;
  line-height: 1.35;
}

/* Compact hollow lime GS emblem inside #top hero headline tiles */
.m-hero-tile {
  --hero-tile-h: 0.72em !important;
  --hero-tile-w: 0.72em !important;
  vertical-align: -0.04em !important;
  margin-block: -0.12em !important;
  line-height: 0 !important;
  border-radius: 0 !important;
}
.m-hero-tile img {
  object-fit: contain !important;
  filter: drop-shadow(0 0 10px rgba(182, 244, 25, 0.28));
}

/* Inline hollow lime GS emblem separators in #about statement */
.gs-about-emblem {
  display: inline-block;
  width: 0.56em;
  height: 0.56em;
  vertical-align: -0.04em;
  margin-inline: 0.22em;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(182, 244, 25, 0.22));
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.o-about__line:hover .gs-about-emblem {
  transform: rotate(90deg) scale(1.08);
}
@media (prefers-reduced-motion: reduce) {
  .gs-about-emblem { transition: none; }
}

/* Balanced display scale for the 2-line poetic hero headline (+10% & 700 weight) */
#top.o-hero .m-hero-content h1.a-heading--h3 {
  font-size: clamp(31px, 4.24vw, 68px) !important;
  font-weight: 700 !important;
}
#top.o-hero .m-hero-content p.a-text--m {
  font-size: clamp(18px, 19.02px + 0.21vw, 22px) !important;
}
