/* Developed by LAGO Creative for YGAero — Global Reach section (home + about) */
.gr {
  --gr-bg: #162534; --gr-faith: #fefefe; --gr-white: #ffffff; --gr-olive: #d3dca1; --gr-sun: #ffc107; --gr-steel: #7a96aa;
  --gr-pad: clamp(1rem, 6.67vw, 6rem);
  position: relative; overflow: hidden; box-sizing: border-box;
  min-height: 70vh; padding: 4rem var(--gr-pad);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center;
  background: var(--gr-bg) radial-gradient(ellipse 60% 75% at 72% 50%, rgba(77, 110, 130, .30) 0%, rgba(22, 37, 52, 0) 70%);
  color: var(--gr-white); font-family: 'Open Sans', system-ui, sans-serif;
}
.gr *, .gr *::before, .gr *::after { box-sizing: border-box; }
.gr :focus-visible { outline: 2px solid var(--gr-olive); outline-offset: 3px; }

.gr__text { position: relative; z-index: 3; min-width: 0; display: flex; flex-direction: column; gap: .875rem; }
.gr__title { margin: 0; font: 800 2rem/1.1 'League Spartan', system-ui, sans-serif; letter-spacing: -.01em; color: var(--gr-faith); }
.gr__title span { display: block; }
.gr__sub { display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; }
.gr__sub h2 { margin: 0; font: 600 1rem/1.2 'League Spartan', system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--gr-olive); }
.gr__sub i { display: block; width: 2.5rem; height: 2px; background: var(--gr-olive); }
.gr__lead { margin: 0; max-width: 22.5rem; font: 400 1rem/1.65 'Open Sans', system-ui, sans-serif; color: var(--gr-white); }
.gr__where { margin-top: 1.6rem; display: flex; flex-direction: column; gap: .25rem; }
.gr__label { margin: 0; font: 600 .75rem/1.2 Quicksand, system-ui, sans-serif; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.gr__cities { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; column-gap: 1.75rem; width: max-content; max-width: calc(100vw - 2 * var(--gr-pad)); }
.gr__cities button {
  position: relative; padding: .75rem 0; border: 0; background: none; cursor: pointer; white-space: nowrap;
  font: 600 .95rem/1 Quicksand, system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--gr-white);
  transition: color .35s ease;
}
.gr__cities button::after { content: ""; position: absolute; left: 0; right: 0; bottom: .25rem; height: 2px; background: var(--gr-olive); transform: scaleX(0); transform-origin: left center; transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.gr--active .gr__cities button { color: rgba(255, 255, 255, .45); }
.gr--active .gr__cities button.is-on { color: var(--gr-white); }
.gr__cities button.is-on::after { transform: scaleX(1); }

.gr__aside { position: relative; z-index: 1; min-width: 0; display: flex; flex-direction: column; gap: 1.5rem; margin-right: calc(var(--gr-pad) * -.6); }
.gr__stage { position: relative; width: 100%; aspect-ratio: var(--ar); }
.gr__dots, .gr__arcs { position: absolute; inset: 0; width: 100%; height: 100%; display: block; overflow: visible; }
.gr__dots {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 8%), linear-gradient(to bottom, transparent 0, #000 12%); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 8%), linear-gradient(to bottom, transparent 0, #000 12%); mask-composite: intersect;
}
.gr__dots path { fill: none; stroke: #8ea8ba; stroke-opacity: .55; stroke-width: 3.1; stroke-linecap: round; }
.gr__arcs { pointer-events: none; }
.gr__arcs path { fill: none; stroke-linecap: round; }
.gr__arc-base { stroke: var(--gr-steel); stroke-opacity: .38; stroke-width: 1; stroke-dasharray: 2 6; }
.gr__arc-on { stroke: var(--gr-olive); stroke-width: 1.8; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1s cubic-bezier(.2, .7, .2, 1); }
.gr__arc-on.is-on { stroke-dashoffset: 0; }

.gr__photo {
  position: absolute; left: var(--x); top: var(--y); width: 80%; aspect-ratio: 640 / 460; transform: translate(-50%, -50%);
  opacity: 0; pointer-events: none; transition: opacity .8s ease;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 28%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 28%, transparent 100%);
}
.gr__photo > img, .gr__photo > svg { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.07); transition: transform 6s cubic-bezier(.2, .6, .2, 1); }
.gr__photo.is-on { opacity: 1; }
.gr__photo.is-on > img, .gr__photo.is-on > svg { transform: scale(1); }

.gr__pin { --tone: var(--gr-olive); position: absolute; left: var(--x); top: var(--y); z-index: 2; width: 2.75rem; height: 2.75rem; margin: -1.375rem 0 0 -1.375rem; padding: 0; border: 0; background: none; cursor: pointer; }
.gr__pin[data-city="us"] { --tone: var(--gr-sun); }
.gr__pin.is-on { z-index: 6; }
.gr__pin::before { content: ""; position: absolute; inset: .75rem; border-radius: 50%; border: 1.5px solid var(--tone); animation: grPulse 3.2s ease-out infinite; }
.gr__ring { position: absolute; inset: 3px; border-radius: 50%; border: 1.5px solid var(--tone); opacity: 0; transform: scale(.6); transition: opacity .4s ease, transform .5s cubic-bezier(.2, .7, .2, 1); }
.gr__core { position: absolute; inset: 0; margin: auto; width: 9px; height: 9px; border-radius: 50%; background: var(--tone); transition: transform .4s ease; }
.gr__pin.is-on .gr__ring { opacity: 1; transform: scale(1.25); }
.gr__pin.is-on .gr__core { transform: scale(1.45); }
@keyframes grPulse { 0% { transform: scale(.45); opacity: .75; } 100% { transform: scale(2.2); opacity: 0; } }
.gr__hq { position: absolute; left: calc(var(--x) + 1.1rem); top: calc(var(--y) + .6rem); pointer-events: none; font: 700 .6875rem/1 Quicksand, system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--gr-sun); transition: opacity .4s ease; }
.gr--active .gr__hq { opacity: .35; }

.gr__card {
  position: absolute; bottom: calc(100% - .4rem); z-index: 5; width: 17.5rem; padding: 1rem 1.125rem; display: flex; flex-direction: column; gap: .75rem;
  background: var(--gr-faith); color: #162534; border-radius: 10px; text-align: left; box-shadow: 0 18px 44px rgba(0, 0, 0, .3);
  opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .45s ease, transform .5s cubic-bezier(.2, .7, .2, 1);
}
.gr__pin[data-side="right"] .gr__card { left: 1.5rem; }
.gr__pin[data-side="left"] .gr__card { right: 1.5rem; }
.gr__pin.is-on .gr__card { opacity: 1; transform: none; }
.gr__card-head { display: flex; align-items: center; gap: .875rem; }
.gr__card-logo { flex: none; width: 4rem; height: 2.5rem; display: flex; align-items: center; justify-content: center; }
.gr__card-logo img { display: block; height: 1.625rem; width: auto; }
.gr__card-logo img[data-division="europe"] { height: 2.375rem; }
.gr__card-id { display: flex; flex-direction: column; gap: .25rem; min-width: 0; }
.gr__card-name { font: 600 1.375rem/1 'League Spartan', system-ui, sans-serif; color: #162534; }
.gr__card-meta { font: 600 .6875rem/1.2 Quicksand, system-ui, sans-serif; letter-spacing: .04em; color: #4d6e82; }
.gr__desc { display: block; padding-top: .75rem; border-top: 1px solid rgba(0, 0, 0, .08); font: 400 .8125rem/1.55 'Open Sans', system-ui, sans-serif; color: #343a46; }
.gr__desc:empty { display: none; }

.gr__logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 1.5rem 2.5rem; }
.gr__logo { display: block; width: auto; height: 2.5rem; transition: opacity .5s ease, transform .5s cubic-bezier(.2, .7, .2, 1), filter .5s ease; }
.gr__logo[data-division="europe"] { height: 3.75rem; }
.gr--active .gr__logo { opacity: .26; }
.gr--active .gr__logo.is-on { opacity: 1; transform: scale(1.1); filter: drop-shadow(0 0 14px rgba(254, 254, 254, .42)); }

@media (max-width: 56rem) {
  .gr { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; padding-block: 3rem; }
  .gr__aside { margin-right: 0; }
  .gr__lead { max-width: 34rem; }
  .gr__cities { width: auto; }
  .gr__cities button { padding: .875rem 0; }
  .gr__logos { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .gr *, .gr *::before { animation: none !important; transition: none !important; } }
