/* Homepage evidence-based service map - reference layout + gradual reveal */

.loop-flow {
    --ink: #3a3a3a;
    --muted: #7a7a7a;
    --line: #6b6b6b;
    --mint: #d8f0e4;
    --pink: #f4c4d4;
    --coral: #e86b4a;
    --blue: #3d7ad6;
    --green: #22b18c;
    --gold: #e0b43a;
    position: relative;
    margin: 0.25rem auto 2.4rem;
    max-width: 1360px;
    overflow-x: auto;
    overflow-y: visible;
}

.awamap-orgs-wrap {
    grid-area: orgs;
    position: relative;
    justify-self: center;
    width: max-content;
    min-width: 0;
    max-width: 100%;
}

.awamap-motion-btn {
    position: absolute;
    top: 0.15rem;
    left: 100%;
    right: auto;
    z-index: 8;
    margin: 0 0 0 0.4rem;
    padding: 0.22rem 0.55rem;
    border: 1px solid #d0d4d8;
    border-radius: 999px;
    background: #fff;
    color: #667;
    font-size: 0.75rem;
    line-height: 1.3;
    white-space: nowrap;
    writing-mode: horizontal-tb;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(40, 40, 40, 0.08);
}

.awamap-motion-btn:hover {
    color: #3a3a3a;
    border-color: #b8bec4;
    background: #f7f8f9;
}

.loop-flow.is-motion-off .awamap-org-track,
.loop-flow.is-motion-off .awamap-tags-track,
.loop-flow.is-motion-off .flow-fan-bead,
.loop-flow.is-motion-off .flow-travel-bead,
.loop-flow.is-motion-off .awamap-travel-bead,
.loop-flow.is-motion-off .awamap-card.is-breathing {
    animation: none !important;
    transform: none;
}

.loop-flow.is-motion-off .awamap-tags-set[aria-hidden="true"],
.loop-flow.is-motion-off .awamap-org-list[aria-hidden="true"] {
    display: none;
}

.loop-flow.is-motion-off .flow-fan-bead,
.loop-flow.is-motion-off .flow-travel-bead,
.loop-flow.is-motion-off .awamap-travel-bead {
    display: none;
}

.loop-flow-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.loop-flow-board {
    position: relative;
    min-height: 28rem;
    overflow: visible;
    padding: 0.35rem 0.25rem 2.4rem;
}

.loop-flow-svg {
    display: none;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
    overflow: visible;
}

.loop-flow-svg .flow-travel {
    fill: none;
    stroke: #1a1a1a;
    stroke-width: 2.1;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.awamap-travel-layer {
    grid-area: 1 / 1 / -1 / -1;
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.awamap-travel-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
}

.awamap-travel-svg .flow-fan {
    fill: none;
    stroke: #8a8a8a;
    stroke-width: 1;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.awamap-travel-svg .flow-fan-bend {
    stroke-linejoin: round;
}

.awamap-travel-svg .flow-fan-head {
    fill: none;
    stroke: #8a8a8a;
    stroke-width: 1;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.awamap-travel-svg .flow-fan-white {
    stroke: #fff;
}

.awamap-travel-svg .flow-fan-to-blue {
    stroke: url(#flow-to-blue-grad);
}

.awamap-travel-svg .flow-fan-from-blue {
    stroke: url(#flow-from-blue-grad);
}

.awamap-travel {
    position: absolute;
    height: 1.25px;
    background: #1a1a1a;
    transform-origin: 0 50%;
    pointer-events: none;
    border-radius: 1px;
}

.awamap-travel.is-still .awamap-travel-bead {
    display: none;
}

.awamap-travel::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 5px;
    height: 5px;
    box-sizing: border-box;
    border-top: 1.25px solid #1a1a1a;
    border-right: 1.25px solid #1a1a1a;
    transform: translate(30%, -50%) rotate(45deg);
    background: none;
}

.awamap-travel-bead {
    position: absolute;
    top: 50%;
    left: 0;
    width: 10px;
    height: 10px;
    margin: -5px 0 0 -5px;
    background: #111;
    border-radius: 50%;
    animation: awamapBead 4.4s linear infinite;
}

@keyframes awamapBead {
    0% { left: 0%; opacity: 1; }
    23% { left: 22%; opacity: 1; }
    42.5% { left: 86%; opacity: 1; }
    54.5% { left: 100%; opacity: 0; }
    100% { left: 100%; opacity: 0; }
}

.loop-flow-svg path {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.loop-flow-svg .flow-solid {
    stroke: #5f5f5f;
    stroke-width: 1.7;
}

.loop-flow-svg .flow-dash {
    stroke: #9aa3a0;
    stroke-width: 1.45;
}

.loop-flow.is-playing .loop-flow-svg path,
.loop-flow.is-complete .loop-flow-svg path,
.loop-flow.is-static .loop-flow-svg path {
    animation: awamapDraw 1.15s ease-in-out forwards;
}

.loop-flow.is-playing .flow-see-eval { animation-delay: 3.05s; }
.loop-flow.is-playing .flow-org { animation-delay: 4.35s; }
.loop-flow.is-playing .flow-eval-camp { animation-delay: 5.55s; }
.loop-flow.is-playing .flow-eval-play { animation-delay: 6.15s; }
.loop-flow.is-playing .flow-camp-play { animation-delay: 6.75s; }
.loop-flow.is-playing .flow-kit { animation-delay: 7.55s; }
.loop-flow.is-playing .flow-out { animation-delay: 8.2s; }
.loop-flow.is-playing .flow-eval-out { animation-delay: 8.7s; }

.loop-flow.is-complete .loop-flow-svg path,
.loop-flow.is-static .loop-flow-svg path {
    animation: none;
    stroke-dashoffset: 0;
}

.loop-flow.is-complete .flow-dash,
.loop-flow.is-static .flow-dash {
    stroke-dasharray: 5 6;
}

.awamap {
    position: relative;
    z-index: 1;
    overflow: visible;
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr) max-content;
    grid-template-areas:
        "title title title"
        "orgs orgs orgs"
        "observe system outcome"
        "out kit future";
    gap: 1.65rem 1.25rem;
    align-items: stretch;
    min-width: 1180px;
}

.awamap-title {
    grid-area: title;
    align-self: start;
    justify-self: center;
    margin: 0.15rem 0 0;
    font-size: 1.12rem;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: 0.03em;
    color: #5a5a5a;
    white-space: normal;
    max-width: 100%;
    text-align: center;
}

.awamap-orgs,
.awamap-see,
.awamap-eval,
.awamap-train,
.awamap-hope {
    cursor: pointer;
}

.awamap-orgs {
    position: relative;
    z-index: 4;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    overflow: visible;
    border: 1.5px dashed #7eb8d8;
    border-radius: 16px;
    background: #f7fbff;
    padding: 0.7rem 0.85rem 0.65rem;
}

.awamap-orgs .awamap-note-btn {
    z-index: 5;
}

.awamap-org-marquee {
    --org-slot: 4.5rem;
    --org-gap: 0.62rem;
    --org-visible: 10;
    overflow: hidden;
    width: calc(var(--org-visible) * var(--org-slot) + (var(--org-visible) - 1) * var(--org-gap));
    max-width: 100%;
    margin: 0 auto 0.45rem;
}

.awamap-org-track {
    display: flex;
    width: max-content;
    will-change: transform;
    animation: awamapOrgScroll 54s linear infinite;
}

.awamap-org-list {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: var(--org-gap);
    list-style: none;
    margin: 0;
    padding: 0 var(--org-gap) 0 0;
}

.awamap-org-list li {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.16rem;
    flex: 0 0 var(--org-slot);
    width: var(--org-slot);
    box-sizing: border-box;
    text-align: center;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #355a72;
    overflow: hidden;
    background: none;
    border: 0;
    border-radius: 0;
    padding: 0.12rem 0;
}

.awamap-org-list img {
    display: block;
    height: 1.55rem;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    box-sizing: border-box;
    border: 1px solid #4a4a4a;
    border-radius: 3px;
}

.awamap-orgs p {
    margin: 0;
    font-size: 0.72rem;
    line-height: 1.5;
    color: #667;
    text-align: center;
    white-space: normal;
}

.awamap-orgs strong {
    color: #c45c3a;
    font-weight: 700;
}

.awamap-observe {
    grid-area: observe;
    display: grid;
    grid-template-columns: max-content max-content;
    column-gap: 0;
    align-items: center;
    min-width: 0;
    isolation: isolate;
    overflow: visible;
    padding: 0.15rem 0 0.35rem;
    transform: translateX(1.15rem);
    z-index: 3;
}

.awamap-tags {
    position: relative;
    z-index: 4;
    width: max-content;
    margin-right: -0.95rem;
    filter:
        drop-shadow(3px 0 4px rgba(32, 32, 40, 0.14))
        drop-shadow(1px 1px 2px rgba(32, 32, 40, 0.08));
}

.awamap-tags:not(.awamap-tags--end)::after,
.awamap-tags--end::after {
    content: "";
    position: absolute;
    top: 50%;
    bottom: auto;
    width: 8px;
    height: 13.5rem;
    transform: translateY(-50%);
    background: linear-gradient(180deg, rgba(196, 197, 202, 0) 0%, rgba(198, 199, 204, 0.14) 8%, rgba(198, 199, 204, 0.16) 92%, rgba(196, 197, 202, 0) 100%);
    border-radius: 2px;
    pointer-events: none;
    z-index: 0;
}

.awamap-tags:not(.awamap-tags--end)::after {
    right: -0.05rem;
}

.awamap-tags--end::after {
    left: -0.05rem;
    right: auto;
}

.awamap-tags-view {
    position: relative;
    z-index: 1;
    height: 17rem;
    overflow: hidden;
    padding-right: 0.55rem;
    box-sizing: border-box;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
}

.awamap-tags-track {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
    will-change: transform;
    animation: awamapTagScroll 12.5s linear infinite;
}

.awamap-tags-set {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.45rem;
    padding: 0 0 0.45rem;
}

.awamap-tag {
    display: inline-block;
    color: #3a3a42;
    font-size: 0.76rem;
    line-height: 1.2;
    font-weight: 300;
    letter-spacing: 0.01em;
    border-radius: 3px;
    border: 1px solid #e4e5ea;
    background: linear-gradient(165deg, #f7f7f9 0%, #e8e9ee 100%);
    box-shadow: 3px 1px 7px rgba(32, 32, 40, 0.1);
    padding: 0.32rem 0.7rem;
    white-space: nowrap;
}

.awamap-tag:nth-child(3n) {
    background: linear-gradient(165deg, #f6f4f7 0%, #ebe6ee 100%);
    border-color: #e6e1e8;
}

.awamap-tag:nth-child(3n+2) {
    background: linear-gradient(165deg, #f4f6f8 0%, #e4e9ed 100%);
    border-color: #dde3e8;
}

.awamap-tags:not(.awamap-tags--end) .awamap-tag,
.awamap-tags:not(.awamap-tags--end) .awamap-tag:nth-child(3n),
.awamap-tags:not(.awamap-tags--end) .awamap-tag:nth-child(3n+2) {
    background: #f1f2f4;
    box-shadow: none;
}

.awamap-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 22px -16px rgba(40, 40, 40, 0.45);
    padding: 1.05rem 1.1rem;
    text-decoration: none;
    color: inherit;
    display: block;
    transform-origin: center center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Atlas cards: fixed width on all locales — copy wraps / scales, boxes do not grow */
.awamap-see,
.awamap-hope,
.awamap-eval,
.awamap-camp,
.awamap-play {
    width: 10.8rem;
    max-width: 10.8rem;
    min-width: 0;
    box-sizing: border-box;
}

.awamap-see h3,
.awamap-hope h3,
.awamap-eval h3,
.awamap-camp h3,
.awamap-play h3,
.awamap-see p,
.awamap-hope p,
.awamap-eval p,
.awamap-bpt,
.awamap-cpt,
.awamap-kit p,
.awamap-future p,
.awamap-system-cap {
    white-space: normal;
    overflow-wrap: break-word;
    line-height: 1.32;
}

.awamap-see h3,
.awamap-hope h3,
.awamap-eval h3,
.awamap-camp h3,
.awamap-play h3 {
    font-size: 1.08rem;
    line-height: 1.3;
}

.awamap-see p,
.awamap-hope p,
.awamap-eval p {
    font-size: 1.05rem;
    line-height: 1.35;
}

.awamap-see,
.awamap-hope {
    position: relative;
    z-index: 1;
    align-self: center;
    text-align: center;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid #ececec;
    background: #fff;
}

.awamap-see {
    justify-self: start;
    min-height: 13.5rem;
    padding: 2.35rem 1.05rem 2.35rem 1.35rem;
    transform-origin: center center;
}

@keyframes awamapCardBreath {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 22px -16px rgba(40, 40, 40, 0.45);
    }
    50% {
        transform: scale(1.04);
        box-shadow: 0 14px 28px -12px rgba(40, 40, 40, 0.32);
    }
}

.awamap-see h3,
.awamap-hope h3 {
    margin: 0 0 0.55rem;
    font-weight: 700;
    color: var(--ink);
}

.awamap-see p,
.awamap-hope p {
    margin: 0;
    font-weight: 700;
}

.awamap-see p {
    color: var(--coral);
}

/* Supp art: always clipped inside white cards (size adapts via contain) */
.awamap-card.awamap-see,
.awamap-card.awamap-hope,
.awamap-card.awamap-eval {
    overflow: hidden;
}

.awamap-see,
.awamap-hope,
.awamap-eval {
    overflow: hidden;
}

.awamap-see::after,
.awamap-hope::after,
.awamap-eval::after {
    content: "";
    position: absolute;
    z-index: 0;
    pointer-events: none;
    opacity: 0.9;
    left: 0.3rem;
    right: 0.3rem;
    width: auto;
    bottom: 0.12rem;
    height: 4rem;
    max-height: min(4.6rem, 42%);
    transform: none;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center bottom;
}

.awamap-see::after {
    background-image: url("../images/main/supp-a01.webp");
    background-position: 55% bottom;
}

.awamap-hope::after {
    background-image: url("../images/main/supp-a05.webp");
}

.awamap-eval::after {
    background-image: url("../images/main/supp-a02.webp");
    height: 3.5rem;
    max-height: min(3.75rem, 38%);
}

.awamap-see h3,
.awamap-see p,
.awamap-hope h3,
.awamap-hope p,
.awamap-eval h3,
.awamap-eval p {
    position: relative;
    z-index: 1;
}

.awamap-note-btn {
    position: absolute;
    top: 0.42rem;
    right: 0.42rem;
    left: auto;
    z-index: 3;
    width: 1.5rem;
    height: 1.5rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #8d8d8d;
    font-size: 1rem;
    line-height: 1;
    cursor: inherit;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.awamap-note-btn--start {
    right: auto;
    left: 0.42rem;
}

.awamap-note-btn:hover,
.awamap-note-btn:focus-visible {
    color: #4a4a4a;
    background: #f3f3f3;
    outline: none;
}

.awamap-note-layer {
    --ink: #3a3a3a;
    --gold: #e0b43a;
    position: fixed;
    inset: 0;
    z-index: 100050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: max(1rem, env(safe-area-inset-top)) max(0.85rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(0.85rem, env(safe-area-inset-left));
    box-sizing: border-box;
}

.awamap-note-layer[hidden] {
    display: none;
}

.awamap-note-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(42, 36, 32, 0.42);
}

.awamap-note-panel {
    position: relative;
    z-index: 1;
    width: min(34rem, 100%);
    max-width: 100%;
    min-width: 0;
    max-height: min(82dvh, calc(100vh - 2.5rem));
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    background: #fffdf9;
    border: 1px solid #eadfd4;
    border-radius: 18px;
    padding: 1.45rem 1.55rem 1.35rem;
    box-shadow: 0 24px 50px -18px rgba(40, 28, 18, 0.42);
}

.awamap-note-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 6;
    width: 1.85rem;
    height: 1.85rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f4eee8;
    color: #6f6760;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
}

.awamap-note-close:hover,
.awamap-note-close:focus-visible {
    color: #333;
    background: #eadfd4;
    outline: none;
}

.awamap-note-panel h4 {
    margin: 0 2.2rem 0.85rem 0;
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.45;
    color: var(--ink);
}

.awamap-note-line {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.12rem 0;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.95;
    color: #5a5550;
}

.awamap-note-line span {
    white-space: nowrap;
}

.awamap-note-line span:not(:last-child)::after {
    content: "、";
    color: inherit;
    font-weight: inherit;
}

.awamap-note-line--ellipsis span:last-child::after {
    content: "……";
}

.awamap-note-chips {
    gap: 0.5rem 0.5rem;
    align-items: center;
}

.awamap-note-chips span {
    padding: 0.28rem 0.72rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 400;
    line-height: 1.4;
}

.awamap-note-chips span:not(:last-child)::after,
.awamap-note-chips.awamap-note-line--ellipsis span:last-child::after {
    content: none;
}

.awamap-note-chips span:nth-child(10n+1) {
    background: #fde8e4;
    color: #c45c3a;
    border-color: #f3c8be;
}
.awamap-note-chips span:nth-child(10n+2) {
    background: #fff1d4;
    color: #b07a12;
    border-color: #f0dcab;
}
.awamap-note-chips span:nth-child(10n+3) {
    background: #e8f6ee;
    color: #2e8a58;
    border-color: #c5e6d2;
}
.awamap-note-chips span:nth-child(10n+4) {
    background: #e7f2fb;
    color: #2f6fb3;
    border-color: #c5daf0;
}
.awamap-note-chips span:nth-child(10n+5) {
    background: #f3eafb;
    color: #7b4fd6;
    border-color: #ddc8f4;
}
.awamap-note-chips span:nth-child(10n+6) {
    background: #fdeef4;
    color: #c44d7a;
    border-color: #f3c9d8;
}
.awamap-note-chips span:nth-child(10n+7) {
    background: #e8f7f6;
    color: #1f8f8a;
    border-color: #c3e6e3;
}
.awamap-note-chips span:nth-child(10n+8) {
    background: #fff4e8;
    color: #d06a1f;
    border-color: #f3d7bb;
}
.awamap-note-chips span:nth-child(10n+9) {
    background: #eef0f8;
    color: #4a5a9a;
    border-color: #d0d5ea;
}
.awamap-note-chips span:nth-child(10n) {
    background: #f4eee6;
    color: #8a5a48;
    border-color: #e2d4c6;
}

.awamap-note-panel--wide {
    width: min(48rem, 100%);
}

.awamap-note-refs {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.9rem;
    line-height: 1.7;
    color: #5a5550;
}

.awamap-note-refs li {
    margin: 0;
    padding: 0;
    break-inside: avoid;
}

@media (min-width: 768px) {
    .awamap-note-refs {
        columns: 2;
        column-gap: 1.6rem;
        max-height: none;
        overflow: visible;
    }
}

@media (max-width: 767.98px) {
    .awamap-note-refs {
        max-height: min(52vh, 22rem);
        overflow-y: auto;
    }
}

.awamap-note-foot {
    display: flex;
    flex-wrap: nowrap;
    align-items: baseline;
    gap: 0.85rem;
    margin: 0.85rem 0 0;
    white-space: nowrap;
}

.awamap-note-pair {
    margin: 0 0 0.85rem;
    padding: 0;
    list-style: none;
    font-size: 0.95rem;
    line-height: 1.75;
    color: #5a5550;
    font-weight: 700;
}

.awamap-note-pair li + li {
    margin-top: 0.45rem;
}

.awamap-note-pair-meta {
    display: block;
    font-weight: 400;
    margin-top: 0.05rem;
}

.awamap-note-stars {
    color: var(--gold, #e0b43a);
    font-weight: 700;
}

.awamap-note-more + .awamap-note-more {
    margin-top: 0.35rem;
}

.awamap-note-copy {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.75;
    color: #5a5550;
}

.awamap-note-copy p {
    margin: 0 0 0.75rem;
}

.awamap-note-copy p:last-child {
    margin-bottom: 0;
}

.awamap-em {
    font-weight: 700;
    color: #2f6fb3;
}

.awamap-em-warn {
    font-weight: 700;
    color: #c45c3a;
}

.awamap-note-disclaimer {
    margin: 0.85rem 0 0;
    font-size: 0.88rem;
    line-height: 1.6;
    color: #8a5a48;
}

.awamap-note-more {
    margin: 0.85rem 0 0;
    font-size: 0.88rem;
    color: #5a5550;
}

.awamap-note-foot .awamap-note-disclaimer,
.awamap-note-foot .awamap-note-more {
    margin: 0;
}

.awamap-note-more a {
    position: relative;
    color: #3d7ad6;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
    padding-right: 0.95em;
}

.awamap-note-more a .bi-box-arrow-up-right {
    position: absolute;
    top: -0.15em;
    right: 0;
    font-size: 0.68em;
    font-weight: 400;
    text-decoration: none;
}

.awamap-hope {
    justify-self: end;
    z-index: 3;
    min-height: 13.5rem;
    box-sizing: border-box;
    padding: 2.35rem 1.45rem 2.35rem 1.05rem;
}

.awamap-hope .awamap-note-btn {
    right: 1.2rem;
    left: auto;
    z-index: 2;
}

.awamap-hope p {
    color: #3a9b6e;
}

.awamap-outcome {
    grid-area: outcome;
    display: grid;
    grid-template-columns: max-content max-content;
    column-gap: 0;
    align-items: center;
    min-width: 0;
    isolation: isolate;
    overflow: visible;
    padding: 0.15rem 0 0.35rem;
    transform: translateX(-1.15rem);
    z-index: 4;
}

.awamap-tags--end {
    z-index: 8;
    margin-right: 0;
    margin-left: -0.95rem;
    filter:
        drop-shadow(-3px 0 4px rgba(32, 32, 40, 0.14))
        drop-shadow(-1px 1px 2px rgba(32, 32, 40, 0.08));
}

.awamap-tags--end .awamap-tags-view {
    padding-right: 0.2rem;
    padding-left: 0.55rem;
}

.awamap-tags--end .awamap-tags-track,
.awamap-tags--end .awamap-tags-set {
    align-items: flex-start;
}

.awamap-tags--end .awamap-tags-track {
    animation-duration: 12.5s;
    animation-direction: reverse;
}

.awamap-tags--end .awamap-tag,
.awamap-tags--end .awamap-tag:nth-child(3n),
.awamap-tags--end .awamap-tag:nth-child(3n+2) {
    background: #eef5fb;
    border-color: #d5e4f0;
    box-shadow: none;
}

.awamap-system {
    grid-area: system;
    position: relative;
    justify-self: center;
    align-self: center;
    width: max-content;
    max-width: 100%;
    background: none;
    border-radius: 18px;
    padding: 0.75rem 2.05rem 0.65rem 1.2rem;
    display: grid;
    grid-template-columns: max-content max-content;
    grid-template-areas:
        "cap cap"
        "eval train";
    row-gap: 0.7rem;
    column-gap: var(--eval-gap, 0.75rem);
    justify-content: center;
    justify-items: center;
}

.awamap-system::before {
    content: "";
    position: absolute;
    top: -16px;
    right: 0;
    left: 0;
    height: 100%;
    box-sizing: border-box;
    background: var(--mint);
    border: 3px solid #fff;
    border-radius: 18px;
    box-shadow: 0 10px 28px -10px rgba(40, 70, 55, 0.38), 0 2px 8px -2px rgba(40, 70, 55, 0.16);
    z-index: 0;
    pointer-events: none;
}

html[lang="zh-CN"] .awamap-system::after {
    content: "";
    position: absolute;
    left: -0.6rem;
    bottom: 0.88rem;
    width: calc(100% + 0.18rem);
    height: 5.1rem;
    background: url("../images/logo-w-en.webp") left bottom / contain no-repeat;
    z-index: 1;
    pointer-events: none;
    opacity: 0.2;
    filter: saturate(1.45) contrast(1.08) brightness(1.22);
    clip-path: inset(0 round 0 0 13px 13px);
}

.awamap-eval {
    grid-area: eval;
    position: relative;
    z-index: 4;
    align-self: center;
    justify-self: center;
    text-align: center;
    min-height: 10.2rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.35rem 1.05rem 0.75rem;
    margin-left: 1.25rem;
    min-height: 11.4rem;
}

.awamap-eval h3 {
    margin: 0 0 0.45rem;
    font-weight: 800;
    color: var(--ink);
}

.awamap-eval p {
    margin: 0;
    font-weight: 700;
    color: #e0912e;
}

.awamap-train {
    grid-area: train;
    position: relative;
    top: -17px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: max-content;
    background: var(--green);
    border-radius: 16px;
    padding: 1.65rem 1.45rem 0.55rem;
    overflow: visible;
}

.awamap-train-stack {
    position: relative;
    top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    width: max-content;
}

.awamap-train .awamap-note-btn {
    top: 0.12rem;
    right: 0.12rem;
    z-index: 5;
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
}

.awamap-train .awamap-note-btn:hover,
.awamap-train .awamap-note-btn:focus-visible {
    color: #fff;
    background: rgba(255, 255, 255, 0.32);
}

.awamap-train-cap {
    margin: 0.05rem 0 -0.15rem;
    text-align: center;
    font-size: 1.12rem;
    font-weight: 700;
    line-height: 1.4;
    color: #fff;
    white-space: nowrap;
}

.awamap-camp,
.awamap-play {
    position: relative;
    z-index: 4;
    text-align: center;
    padding: 0.75rem 1rem;
}

.awamap-camp h3,
.awamap-play h3 {
    margin: 0 0 0.2rem;
    font-weight: 800;
    color: var(--ink);
}

.awamap-bpt {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: #7b4fd6;
}

.awamap-cpt {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--blue);
}

.awamap-stars {
    display: block;
    margin-top: 0.28rem;
    font-size: 0.78rem;
    color: var(--gold);
    letter-spacing: 0.04em;
}

.awamap-star-empty {
    color: #d8d2c4;
}

.awamap-star-half {
    position: relative;
    display: inline-block;
    letter-spacing: 0;
    line-height: 1;
    color: #d8d2c4;
}

.awamap-star-half::before {
    content: "★";
    position: absolute;
    left: 0;
    top: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
    color: var(--gold, #e0b43a);
    letter-spacing: 0;
    line-height: 1;
}

.awamap-system-cap {
    position: relative;
    top: -17px;
    z-index: 1;
    grid-area: cap;
    margin: 0 0 0.05rem;
    text-align: center;
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--ink);
    max-width: 100%;
    white-space: normal;
}

.awamap-out {
    grid-area: out;
    justify-self: end;
    width: max-content;
    background: #ececec;
    max-width: 28rem;
    position: relative;
    z-index: 4;
    left: 1.15rem;
    padding: 0.85rem 0.75rem 0.7rem;
    box-sizing: border-box;
}

.awamap-out-note {
    margin: 0.4rem 0 0;
    padding: 0;
    font-size: 0.64rem;
    line-height: 1.35;
    color: #9a9a9a;
    text-align: center;
    white-space: normal;
}

.awamap-out-grid {
    display: grid;
    grid-template-columns: max-content max-content;
    gap: 0.4rem 0.7rem;
}

.awamap-out-grid strong,
.awamap-out-grid span {
    display: block;
    color: #8a8a8a;
    font-size: 0.78rem;
    line-height: 1.35;
}

.awamap-out-grid strong {
    font-weight: 700;
}

.awamap-kit {
    grid-area: kit;
    position: relative;
    z-index: 4;
    justify-self: center;
    width: max-content;
    max-width: 100%;
    box-sizing: border-box;
    background: #fbeff3;
    text-align: center;
    align-self: center;
    padding: 0.85rem 1.05rem;
}

.awamap-future {
    grid-area: future;
    justify-self: start;
    align-self: stretch;
    width: max-content;
    max-width: 28rem;
    box-sizing: border-box;
    background: #f7efe6;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    left: -2.6rem;
}

.awamap-future p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    font-weight: 700;
    color: #8a6a4a;
}

.awamap-future p + p {
    margin-top: 0.2rem;
}

.awamap-kit p {
    margin: 0;
    font-size: 1.02rem;
    font-weight: 400;
    color: #4a3a40;
}

.awamap-kit .loop-link {
    color: inherit;
    font-weight: 400;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.awamap-out,
.awamap-kit,
.awamap-future {
    box-shadow: 0 4px 12px -8px rgba(40, 40, 40, 0.22);
}

.awamap-card:hover {
    color: inherit;
    z-index: 6;
    transform: translateX(var(--awamap-shift-x, 0px)) translateY(-2px);
    box-shadow: 0 14px 28px -8px rgba(40, 40, 40, 0.42);
}

.awamap-see:hover {
    z-index: 1;
}

.awamap-hope:hover {
    z-index: 3;
}

.loop-flow.is-playing .awamap-orgs,
.loop-flow.is-playing .awamap-card,
.loop-flow.is-playing .awamap-system,
.loop-flow.is-complete .awamap-orgs,
.loop-flow.is-complete .awamap-card,
.loop-flow.is-complete .awamap-system,
.loop-flow.is-static .awamap-orgs,
.loop-flow.is-static .awamap-card,
.loop-flow.is-static .awamap-system {
    animation: awamapIn 0.8s ease forwards;
}

.loop-flow.is-playing .awamap-see { animation-delay: 1.85s; }
.loop-flow.is-playing .awamap-hope { animation-delay: 8.4s; }
.loop-flow.is-playing .awamap-eval { animation-delay: 3.25s; }
.loop-flow.is-playing .awamap-orgs { animation-delay: 4.15s; }
.loop-flow.is-playing .awamap-system { animation-delay: 3.15s; }
.loop-flow.is-playing .awamap-camp { animation-delay: 5.45s; }
.loop-flow.is-playing .awamap-play { animation-delay: 6.05s; }
.loop-flow.is-playing .awamap-kit { animation-delay: 7.35s; }
.loop-flow.is-playing .awamap-out { animation-delay: 8.05s; }

.loop-flow.is-complete .awamap-orgs,
.loop-flow.is-complete .awamap-card,
.loop-flow.is-complete .awamap-system,
.loop-flow.is-static .awamap-orgs,
.loop-flow.is-static .awamap-card,
.loop-flow.is-static .awamap-system {
    animation: none;
    opacity: 1;
    transform: none;
}

.loop-flow.is-static .awamap-card.is-breathing {
    z-index: 7;
    animation: awamapCardBreath 0.55s ease-in-out 1;
}

.loop-flow.is-static .awamap-see.is-breathing {
    z-index: 1;
}

.loop-flow.is-static .awamap-hope.is-breathing {
    z-index: 3;
}

@keyframes awamapIn {
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes awamapTagScroll {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(0, -50%, 0); }
}

@keyframes awamapOrgScroll {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-50%, 0, 0); }
}

@keyframes awamapDraw {
    to { stroke-dashoffset: 0; }
}

@media (max-width: 991.98px) {
    .awamap {
        min-width: 0;
    }

    .awamap-see h3,
    .awamap-hope h3,
    .awamap-eval h3,
    .awamap-camp h3,
    .awamap-play h3,
    .awamap-bpt,
    .awamap-cpt,
    .awamap-kit p,
    .awamap-future p,
    .awamap-system-cap,
    .awamap-train-cap,
    .awamap-title {
        white-space: normal;
    }

    .awamap-system {
        z-index: auto;
        min-width: 0;
        max-width: 100%;
        animation: none !important;
        opacity: 1;
    }

    .awamap {
        z-index: auto;
        min-width: 0;
        grid-template-columns: 1fr;
        grid-template-areas:
            "title"
            "orgs"
            "observe"
            "system"
            "outcome"
            "kit"
            "out"
            "future";
    }

    .awamap-title {
        white-space: normal;
        padding-right: 7.2rem;
        justify-self: stretch;
        text-align: left;
    }

    .awamap-orgs-note {
        display: none;
    }

    .awamap-orgs-wrap {
        position: static;
    }

    .awamap-motion-btn {
        top: 0.05rem;
        right: 0;
        left: auto;
        margin: 0;
    }

    .awamap-motion-btn.is-map-float {
        position: fixed;
        right: max(0.65rem, env(safe-area-inset-right));
        left: auto;
        margin: 0;
        z-index: 45;
    }

    .awamap-org-track {
        animation-duration: 72s;
    }

    .awamap-tags-track {
        animation-duration: 18s;
    }

    .awamap-observe,
    .awamap-outcome {
        transform: none;
        width: 100%;
        max-width: 100%;
        justify-content: center;
    }

    .awamap-hope {
        justify-self: center;
    }

    .awamap-eval {
        z-index: 6;
        margin-left: 0;
        min-height: 0;
        padding: 0.85rem 1.05rem;
        box-sizing: border-box;
    }

    .awamap-eval::after {
        display: none;
    }

    html[lang="zh-CN"] .awamap-system::after {
        display: none;
    }

    .awamap-see {
        z-index: 1;
    }

    .awamap-tags {
        z-index: 5;
    }

    .awamap-tags--end {
        z-index: 8;
    }

    .awamap-out,
    .awamap-future {
        left: 0;
        justify-self: center;
    }

    .awamap-observe {
        grid-template-columns: max-content max-content;
        column-gap: 0;
    }

    .awamap-tags-view {
        height: 15rem;
    }

    .awamap-tag {
        font-size: 0.72rem;
        padding: 0.28rem 0.58rem;
    }

    .awamap-orgs-wrap,
    .awamap-orgs {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        justify-self: stretch;
    }

    .awamap-system {
        grid-template-columns: 1fr;
        grid-template-areas:
            "cap"
            "eval"
            "train";
    }

    .awamap-system::before {
        top: 0;
    }

    .awamap-train {
        top: 0;
    }

    .awamap-system-cap {
        top: 0;
        z-index: 6;
        text-align: center;
        background: var(--mint);
        padding: 0.12rem 0.45rem;
        border-radius: 8px;
    }

    .awamap-out {
        max-width: none;
    }

    .awamap-out-note {
        margin-top: 0.35rem;
        white-space: normal;
    }

    .awamap-note-pair-meta {
        display: block;
        font-weight: 700;
    }

    .awamap-note-layer {
        align-items: center;
        justify-content: center;
    }

    .awamap-note-panel {
        max-height: min(78dvh, calc(100vh - 2.4rem));
        padding: 1.15rem 0.95rem 1.1rem;
        border-radius: 14px;
        margin: auto;
    }

    .awamap-note-close {
        position: absolute;
        top: 0.55rem;
        right: 0.55rem;
        float: none;
        margin: 0;
        z-index: 6;
    }

    .awamap-note-panel h4 {
        margin-right: 2.4rem;
        font-size: 1rem;
    }

    .awamap-note-copy,
    .awamap-note-pair {
        font-size: 0.9rem;
        overflow-wrap: anywhere;
    }

    .awamap-note-foot {
        display: block;
        white-space: normal;
        gap: 0;
    }

    .awamap-note-foot .awamap-note-disclaimer,
    .awamap-note-foot .awamap-note-more {
        display: inline;
        margin: 0;
    }

    .awamap-note-more,
    .awamap-note-more a {
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: break-word;
    }
}

@media (prefers-reduced-motion: reduce) {
    .awamap-orgs,
    .awamap-org-track,
    .awamap-card,
    .awamap-system,
    .awamap-tags-track,
    .loop-flow-svg path,
    .loop-flow.is-playing .awamap-orgs,
    .loop-flow.is-playing .awamap-card,
    .loop-flow.is-playing .awamap-system,
    .loop-flow.is-playing .loop-flow-svg path {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        stroke-dashoffset: 0 !important;
    }

    .awamap-tags-set[aria-hidden="true"],
    .awamap-org-list[aria-hidden="true"] {
        display: none;
    }

    .flow-travel-bead,
    .flow-fan-bead,
    .awamap-travel-bead {
        display: none;
        animation: none !important;
    }
}
