/* Gravity Projex Theme | Gravity Projex Proprietary License
   Copyright (c) 2026 Gravity Projex. All Rights Reserved. | gravityprojex.com.au */

.gp-gx-hero { margin-top: 5rem; padding: 6rem 0 5rem; }
.gp-gx-hero__inner { display: grid; gap: 3rem; align-items: center; }
.gp-gx-hero__title { font-size: clamp(3rem, 7vw, 5.5rem); line-height: 1.02; letter-spacing: -0.035em; }
.gp-gx-hero__title span { display: block; }
.gp-gx-hero__hint { display: none; margin-top: 2rem; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gp-muted); }
[id^="gp-"] { scroll-margin-top: 6rem; }

@media (min-width: 1024px) {
    .gp-gx-hero__inner { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
    .gp-gx-hero__hint { display: block; }
}

.gp-gx-map { display: none; position: relative; aspect-ratio: 600 / 520; }
.gp-gx-map__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.gp-gx-map__line { stroke: var(--gp-line-2); stroke-width: 1.25; }
.gp-gx-map__core { fill: var(--gp-muted); }
@media (prefers-reduced-motion: no-preference) {
    .gp-gx-map__line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: gp-gx-draw 1.6s ease-out 0.2s forwards; }
}
@keyframes gp-gx-draw { to { stroke-dashoffset: 0; } }

.gp-gx-map__marker {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem;
    transform: translate(-0.875rem, -50%);
    color: var(--gp-muted);
    text-decoration: none;
    z-index: 2;
}
.gp-gx-map__dot { width: 0.75rem; height: 0.75rem; flex: none; box-shadow: inset 0 0 0 2px currentColor; background: var(--gp-deep); }
.gp-gx-map__code { font-family: var(--gp-mono); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; }
.gp-gx-map__marker:hover,
.gp-gx-map__marker:focus-visible,
.gp-gx-map__marker.is-active { color: var(--gp-coral); }
.gp-gx-map__marker.is-active .gp-gx-map__dot { background: var(--gp-coral); }
.gp-gx-map__marker:focus-visible { outline: 2px solid var(--gp-coral); outline-offset: 2px; }

.gp-gx-map__card {
    position: absolute;
    z-index: 3;
    width: 17rem;
    margin: 1.5rem 0 0 -1rem;
    padding: 1.25rem 1.5rem;
    background: var(--gp-navy);
    border-top: 3px solid var(--gp-coral);
    box-shadow: var(--gp-shadow);
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}
.gp-gx-map__card:hover .gp-gx-map__go { text-decoration: underline; text-underline-offset: 3px; }
.gp-gx-map__card.is-flipped { margin-left: -15rem; }
.gp-gx-map__card.is-raised { margin-top: 0; transform: translateY(calc(-100% - 1.5rem)); }
.gp-gx-map__meta { margin: 0 0 0.5rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gp-coral); }
.gp-gx-map__name { margin: 0 0 0.375rem; font-family: var(--gp-heading); font-size: 1.5rem; font-weight: 800; line-height: 1.1; color: #fff; }
.gp-gx-map__tag { margin: 0 0 0.875rem; font-size: 0.875rem; line-height: 1.45; color: var(--gp-muted); }
.gp-gx-map__go { margin: 0; font-size: 0.875rem; font-weight: 700; color: var(--gp-cyan); }

@media (min-width: 1024px) {
    .gp-gx-map { display: block; }
}
