@import url('styles.css');

/* -------------------------
    SPOT4DIS (PEOPLE APP) PAGE
------------------------- */
.spot4dis-people-page {
    --s4d-blue-soft: #eaf0f8;
    --s4d-text: #465b7b;
    --s4d-line: #dce5f1;
    --s4d-off-white: #f7f9fc;
}

.spot4dis-people-page .s4d-shell {
    margin-left: auto;
    margin-right: auto;
    padding: 0 8%;
    box-sizing: border-box;
}

.spot4dis-people-page section:not([id$="-placeholder"]):not(.join-community):not(.s4d-hero) {
    padding: 6% 0;
}

.spot4dis-people-page .s4d-eyebrow {
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--oranje-spot4dis);
    font-size: .8rem;
    font-weight: 700;
    margin: 0 0 1rem;
}

.spot4dis-people-page .s4d-narrow {
    max-width: 780px;
    margin: 0 auto;
}

.spot4dis-people-page .s4d-center {
    text-align: center;
}

/* HERO */
.s4d-hero {
    background-color: var(--blue-spot4dis);
    color: var(--white);
    padding: 6% 0 0;
    position: relative;
    overflow: hidden;
}

body.high-contrast .s4d-hero,
body.white-text-mode .s4d-hero {
    background-color: #000 !important;
}

.s4d-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 3rem;
    padding: 3% 0 4%;
}

.s4d-hero-copy h1 {
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.05;
    margin: 0 0 1.5rem;
}

.s4d-hero-lead {
    color: #ffffffc7;
    max-width: 560px;
    line-height: 1.65;
}

.s4d-button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 2.5rem;
}

.spot4dis-people-page .s4d-button {
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 26px;
    font-size: .92rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;
    transition: transform .2s ease;
}

.spot4dis-people-page .s4d-button:hover {
    transform: translateY(-2px);
}

.spot4dis-people-page .s4d-button--orange {
    background-color: var(--oranje-spot4dis);
    color: var(--white);
}

.spot4dis-people-page .s4d-button--ghost {
    background: transparent;
    color: var(--white);
    border: 1px solid #ffffff57;
}

.spot4dis-people-page .s4d-button--blue {
    background-color: var(--blue-spot4dis);
    color: var(--white);
}

body.high-contrast.spot4dis-people-page .s4d-button,
body.white-text-mode.spot4dis-people-page .s4d-button {
    background-color: #BDF24B !important;
    color: #000 !important;
    border: 1px solid #BDF24B !important;
}

/* Hero phone visual */
.s4d-phone-stage {
    display: grid;
    place-items: center;
    min-height: 520px;
    position: relative;
}

.s4d-orbit {
    border: 1px solid #ffffff40;
    border-radius: 50%;
    position: absolute;
}

.s4d-orbit--one {
    width: 430px;
    height: 430px;
}

.s4d-orbit--two {
    width: 500px;
    height: 500px;
    border-style: dashed;
    opacity: .6;
}

.s4d-phone-glow {
    background: var(--oranje-spot4dis);
    opacity: .9;
    border-radius: 50%;
    width: 380px;
    height: 380px;
    position: absolute;
    filter: blur(2px);
}

.s4d-phone-shot {
    position: relative;
    z-index: 2;
    width: 270px;
    filter: drop-shadow(0 32px 30px rgba(5, 25, 65, 0.38));
}

.s4d-phone-shot img {
    width: 100%;
    display: block;
}

.s4d-map-card {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 175px;
    padding: 13px 16px;
    background: #fffffff7;
    color: #17335f;
    border-radius: 15px;
    box-shadow: 0 18px 40px rgba(6, 26, 65, 0.24);
}

.s4d-map-card strong,
.s4d-map-card small {
    display: block;
}

.s4d-map-card small {
    color: #6380a5;
    margin-top: 3px;
    font-size: .78rem;
}

.s4d-map-card--top {
    top: 12%;
    right: 0;
}

.s4d-map-card--bottom {
    bottom: 16%;
    left: -4%;
}

.s4d-mini-pin,
.s4d-mini-route {
    background: var(--blue-spot4dis);
    color: var(--white);
    border-radius: 50% 50% 50% 8px;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    font-weight: 800;
    flex: none;
}

.s4d-mini-route {
    background: var(--oranje-spot4dis);
    border-radius: 50%;
}

/* CAPABILITY STRIP */
.s4d-capability-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid #ffffff2e;
    margin-top: 3%;
}

.s4d-capability-strip span {
    text-align: center;
    color: #ffffffd1;
    letter-spacing: .03em;
    font-size: .88rem;
    padding: 1.6rem 1rem;
    border-left: 1px solid #ffffff26;
}

.s4d-capability-strip span:first-child {
    border-left: none;
}

/* FEATURES */
.s4d-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 4%;
}

.s4d-feature-card {
    border: 1px solid var(--s4d-line);
    background: var(--white);
    border-radius: 24px;
    padding: 30px 28px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.s4d-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(20, 66, 143, 0.09);
}

.s4d-feature-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--very-light-orange-spot4dis);
    color: var(--blue-spot4dis);
    display: grid;
    place-items: center;
}

.s4d-feature-card h3 {
    margin: 22px 0 9px;
    font-size: 1.2rem;
}

.s4d-feature-card p {
    color: var(--s4d-text);
    margin: 0;
    line-height: 1.65;
}

.s4d-secure-note {
    background: var(--s4d-blue-soft);
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 22px;
    padding: 24px 28px;
}

.s4d-secure-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid #b5c8e1;
    color: var(--blue-spot4dis);
    display: grid;
    place-items: center;
    flex: none;
}

.s4d-secure-note h3 {
    margin: 0 0 5px;
}

.s4d-secure-note p {
    color: var(--s4d-text);
    margin: 0;
}

body.high-contrast .s4d-features-section,
body.white-text-mode .s4d-features-section {
    background-color: #000 !important;
}

body.high-contrast .s4d-features-section h2,
body.white-text-mode .s4d-features-section h2 {
    color: #BDF24B !important;
}

body.high-contrast .s4d-features-section .s4d-hero-lead,
body.white-text-mode .s4d-features-section .s4d-hero-lead {
    color: #FFF !important;
}

body.high-contrast .s4d-feature-card,
body.white-text-mode .s4d-feature-card {
    background-color: #333 !important;
    border-color: #555 !important;
}

body.high-contrast .s4d-feature-card h3,
body.white-text-mode .s4d-feature-card h3 {
    color: #BDF24B !important;
}

body.high-contrast .s4d-feature-card p,
body.white-text-mode .s4d-feature-card p {
    color: #FFF !important;
}

body.high-contrast .s4d-secure-note,
body.white-text-mode .s4d-secure-note {
    background-color: #333 !important;
}

body.high-contrast .s4d-secure-note h3,
body.white-text-mode .s4d-secure-note h3 {
    color: #BDF24B !important;
}

body.high-contrast .s4d-secure-note p,
body.white-text-mode .s4d-secure-note p {
    color: #FFF !important;
}

/* LIVE MAP */
.s4d-live-map-section {
    background: var(--white);
}

body.high-contrast .s4d-live-map-section,
body.white-text-mode .s4d-live-map-section {
    background-color: #000 !important;
}

body.high-contrast .s4d-live-map-heading h2,
body.white-text-mode .s4d-live-map-heading h2 {
    color: #BDF24B !important;
}

body.high-contrast .s4d-live-map-heading p,
body.white-text-mode .s4d-live-map-heading p,
body.high-contrast .s4d-map-area-note,
body.white-text-mode .s4d-map-area-note {
    color: #FFF !important;
}

.s4d-live-map-heading {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 4rem;
    align-items: end;
    margin-bottom: 44px;
}

.s4d-live-map-heading h2 {
    font-weight: 400;
    letter-spacing: -0.02em;
    margin: 0;
}

.s4d-live-map-heading p {
    color: var(--s4d-text);
    font-size: 1.08rem;
    line-height: 1.7;
    margin: 0;
}

.s4d-live-map-frame {
    position: relative;
    height: 640px;
    border: 1px solid rgba(19, 66, 143, 0.14);
    border-radius: 30px;
    overflow: hidden;
    background: #dceaf0;
    box-shadow: 0 32px 70px rgba(19, 66, 143, 0.1);
}

.s4d-map-canvas {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.s4d-map-search-card {
    position: absolute;
    z-index: 500;
    top: 18px;
    left: 18px;
    width: min(320px, calc(100% - 76px));
    height: 52px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(23, 51, 95, 0.11);
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(12, 47, 99, 0.18);
}

.s4d-map-search-card svg {
    color: #4d607d;
    flex: none;
}

.s4d-map-search-card input {
    width: 100%;
    height: 100%;
    outline: none;
    border: none;
    background: transparent;
    color: #263d61;
    font-size: .92rem;
    font-family: inherit;
}

.s4d-map-search-card input::placeholder {
    color: #8a97a8;
}

.s4d-map-search-clear {
    flex: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: none;
    place-items: center;
    color: #62728a;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: normal;
}

.s4d-map-search-card.has-value .s4d-map-search-clear {
    display: grid;
}

.s4d-map-search-clear:hover {
    background: #edf2f8;
}

.s4d-map-search-results {
    position: absolute;
    z-index: 499;
    top: 76px;
    left: 18px;
    width: min(320px, calc(100% - 76px));
    max-height: 280px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid rgba(23, 51, 95, 0.11);
    border-radius: 16px;
    box-shadow: 0 16px 34px rgba(12, 47, 99, 0.2);
    display: none;
    flex-direction: column;
    padding: 6px;
}

.s4d-map-search-results.is-open {
    display: flex;
}

.s4d-map-search-result {
    display: block;
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: .84rem;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: normal;
    color: #263d61;
    font-family: inherit;
    cursor: pointer;
}

.s4d-map-search-result:hover {
    background: var(--s4d-blue-soft);
}

.s4d-map-search-hint {
    padding: 10px 12px;
    font-size: .82rem;
    color: #8a97a8;
}

.s4d-map-search-attribution {
    padding: 6px 12px 2px;
    font-size: .68rem;
    color: #8a97a8;
    text-align: right;
}

/* Single map tool (reset to overview), top-right */
.s4d-map-tool {
    position: absolute;
    z-index: 500;
    top: 18px;
    right: 18px;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.97);
    color: var(--blue-spot4dis);
    border: 1px solid rgba(23, 51, 95, 0.11);
    box-shadow: 0 10px 24px rgba(12, 47, 99, 0.16);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease;
}

.s4d-map-tool:hover {
    transform: translateY(-2px);
    background: #fff;
}

/* Legend toggle + popover, ported from MapLegend.tsx */
.s4d-map-legend-toggle {
    position: absolute;
    z-index: 500;
    left: 18px;
    bottom: 18px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff;
    color: var(--blue-spot4dis);
    display: grid;
    place-items: center;
    box-shadow: 0 10px 24px rgba(12, 47, 99, 0.16);
    border: 1px solid rgba(23, 51, 95, 0.11);
    cursor: pointer;
}

.s4d-map-legend-panel {
    position: absolute;
    z-index: 500;
    left: 18px;
    bottom: 68px;
    min-width: 210px;
    max-height: 280px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid rgba(23, 51, 95, 0.11);
    border-radius: 16px;
    box-shadow: 0 16px 34px rgba(12, 47, 99, 0.2);
    padding: 14px 16px;
    display: none;
}

.s4d-map-legend-panel.is-open {
    display: block;
}

.s4d-map-legend-panel .s4d-legend-title {
    display: block;
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #8a97a8;
    margin: 12px 0 8px;
}

.s4d-map-legend-panel .s4d-legend-title:first-child {
    margin-top: 0;
}

.s4d-legend-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 0;
    font-size: .82rem;
    color: #263d61;
}

.s4d-legend-row img {
    width: 26px;
    height: 26px;
    flex: none;
}

.s4d-legend-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: inline-block;
    flex: none;
    margin: 0 6px;
}

.s4d-map-area-note {
    margin-top: 16px;
    color: #72839b;
    font-size: .75rem;
    line-height: 1.55;
    text-align: right;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* FIELD SECTION */
.s4d-field-section {
    background: var(--s4d-blue-soft);
}

body.high-contrast .s4d-field-section,
body.white-text-mode .s4d-field-section {
    background-color: #000 !important;
}

body.high-contrast .s4d-field-heading h2,
body.white-text-mode .s4d-field-heading h2 {
    color: #BDF24B !important;
}

body.high-contrast .s4d-field-heading p,
body.white-text-mode .s4d-field-heading p {
    color: #FFF !important;
}

body.high-contrast .s4d-field-card,
body.white-text-mode .s4d-field-card {
    background-color: #333 !important;
    border-color: #555 !important;
}

body.high-contrast .s4d-field-card h3,
body.white-text-mode .s4d-field-card h3 {
    color: #BDF24B !important;
}

body.high-contrast .s4d-field-card p,
body.white-text-mode .s4d-field-card p {
    color: #FFF !important;
}

.s4d-field-heading {
    display: grid;
    grid-template-columns: 1fr .86fr;
    gap: 4rem;
    align-items: end;
}

.s4d-field-heading h2 {
    font-weight: 400;
    letter-spacing: -0.02em;
    margin: 0;
}

.s4d-field-heading p {
    color: var(--s4d-text);
    font-size: 1.08rem;
    line-height: 1.7;
    margin: 0;
}

.s4d-field-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    margin-top: 4%;
}

.s4d-field-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(19, 66, 143, 0.12);
    border-radius: 28px;
    background: var(--white);
    box-shadow: 0 24px 50px rgba(19, 66, 143, 0.09);
}

.s4d-field-photo {
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: #dbe5f1;
}

.s4d-field-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.s4d-field-card figcaption {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 18px;
    padding: 25px 27px 28px;
}

.s4d-field-card figcaption > span {
    color: var(--oranje-spot4dis);
    font-size: .7rem;
    font-weight: 850;
    letter-spacing: .14em;
    padding-top: 5px;
}

.s4d-field-card h3 {
    margin: 0 0 8px;
    font-size: 1.22rem;
    line-height: 1.25;
}

.s4d-field-card p {
    margin: 0;
    color: var(--s4d-text);
    line-height: 1.6;
}

/* ECOSYSTEM / SOLUTIONS */
.s4d-ecosystem-section {
    background: var(--s4d-off-white);
}

body.high-contrast .s4d-ecosystem-section,
body.white-text-mode .s4d-ecosystem-section {
    background-color: #000 !important;
}

body.high-contrast .s4d-ecosystem-heading h2,
body.white-text-mode .s4d-ecosystem-heading h2 {
    color: #BDF24B !important;
}

body.high-contrast .s4d-ecosystem-heading p,
body.white-text-mode .s4d-ecosystem-heading p {
    color: #FFF !important;
}

body.high-contrast .s4d-solution-panel--mapping,
body.white-text-mode .s4d-solution-panel--mapping {
    background-color: #000 !important;
    border: 1px solid #BDF24B !important;
}

body.high-contrast .s4d-solution-panel--data,
body.white-text-mode .s4d-solution-panel--data,
body.high-contrast .s4d-solution-panel--info,
body.white-text-mode .s4d-solution-panel--info {
    background-color: #333 !important;
    border-color: #555 !important;
    color: #FFF !important;
}

.s4d-ecosystem-heading {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 4rem;
    align-items: end;
}

.s4d-ecosystem-heading h2 {
    font-weight: 400;
    letter-spacing: -0.02em;
    margin: 0;
}

.s4d-ecosystem-heading p {
    color: var(--s4d-text);
    line-height: 1.75;
    margin: 0;
}

.s4d-solution-stack {
    display: grid;
    gap: 22px;
    margin-top: 4%;
}

.s4d-solution-panel {
    border-radius: 28px;
    display: grid;
    grid-template-columns: 60px 1.05fr .95fr;
    align-items: center;
    gap: 36px;
    padding: 46px;
    position: relative;
    overflow: hidden;
}

.s4d-solution-panel--mapping {
    background: var(--blue-spot4dis);
    color: var(--white);
}

.s4d-solution-panel--data {
    background: var(--very-light-orange-spot4dis);
    color: #17335f;
    min-height: 400px;
}

.s4d-solution-panel--info {
    border: 1px solid var(--s4d-line);
    background: var(--white);
    color: #17335f;
}

.s4d-solution-number {
    letter-spacing: .12em;
    opacity: .55;
    align-self: start;
    font-size: .8rem;
    font-weight: 700;
}

.s4d-solution-main h3 {
    letter-spacing: -.03em;
    max-width: 640px;
    margin: 0 0 17px;
    font-weight: 400;
    line-height: 1.1;
}

.s4d-solution-main > p {
    color: inherit;
    opacity: .82;
    margin: 0;
    line-height: 1.75;
}

.s4d-check-list {
    display: grid;
    gap: 13px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.s4d-check-list li {
    display: flex;
    gap: 12px;
    color: inherit;
    opacity: .9;
    line-height: 1.4;
}

.s4d-check {
    background: var(--oranje-spot4dis);
    color: #17335f;
    height: 24px;
    width: 24px;
    flex: none;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: .72rem;
    font-weight: 900;
}

.s4d-data-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.s4d-data-tags span {
    background: rgba(255, 255, 255, 0.55);
    color: #17335f;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: .75rem;
    font-weight: 700;
}

.s4d-resource-cloud {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 210px;
    padding: 20px;
}

.s4d-resource-row {
    display: flex;
    gap: 20px;
}

.s4d-resource-cloud span {
    background: var(--s4d-blue-soft);
    color: var(--blue-spot4dis);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    padding: 13px 17px;
    font-size: .75rem;
    font-weight: 700;
}

.s4d-resource-cloud span:nth-child(2n) {
    background: var(--very-light-orange-spot4dis);
}

.s4d-resource-cloud svg {
    display: block;
}

.s4d-resource-cloud b {
    width: 29px;
    height: 29px;
    color: var(--blue-spot4dis);
    background: #ffffffb3;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: -6px 0 -6px -7px;
}

/* DATA VISUAL (city illustration) */
.s4d-data-visual {
    justify-self: center;
    width: 360px;
    height: 280px;
    position: relative;
}

.s4d-data-city {
    background: linear-gradient(#ffffffeb 0%, #eaf0f8b8 52%, #ffffff61 100%);
    border: 1px solid #13428f1a;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: inset 0 1px #ffffffe6;
}

.s4d-data-city:after {
    content: "";
    z-index: 1;
    background: radial-gradient(circle at 24% 40%, #70996833 0 28px, transparent 29px),
        radial-gradient(circle at 83% 33%, #7099682e 0 34px, transparent 35px);
    height: 86px;
    position: absolute;
    bottom: 2px;
    left: -30px;
    right: -30px;
}

.s4d-city-sun {
    background: #ff915c59;
    border-radius: 50%;
    width: 46px;
    height: 46px;
    position: absolute;
    top: 25px;
    right: 30px;
    box-shadow: 0 0 0 10px #ff915c14;
}

.s4d-city-cloud {
    background: #ffffff94;
    border-radius: 999px;
    height: 12px;
    display: block;
    position: absolute;
}

.s4d-city-cloud:before,
.s4d-city-cloud:after {
    content: "";
    background: inherit;
    border-radius: 50%;
    position: absolute;
    bottom: 0;
}

.s4d-city-cloud:before {
    width: 25px;
    height: 25px;
    left: 10px;
}

.s4d-city-cloud:after {
    width: 18px;
    height: 18px;
    right: 8px;
}

.s4d-city-cloud--a {
    width: 65px;
    top: 27px;
    left: 18px;
}

.s4d-city-cloud--b {
    width: 76px;
    top: 71px;
    right: 20px;
    transform: scale(.7);
}

.s4d-city-scene {
    z-index: 2;
    height: 194px;
    position: absolute;
    bottom: 12px;
    left: 14px;
    right: 14px;
}

.s4d-city-building {
    z-index: 3;
    background-color: var(--white);
    border: 1px solid #13428f1f;
    border-radius: 4px 4px 1px 1px;
    display: block;
    position: absolute;
    bottom: 48px;
    box-shadow: 4px 5px #13428f14, inset 0 1px #ffffff8c;
}

.s4d-city-building:after {
    content: "";
    opacity: .55;
    background: repeating-linear-gradient(90deg, currentColor 0 4px, transparent 4px 10px),
        repeating-linear-gradient(transparent 0 8px, currentColor 8px 12px);
    position: absolute;
    inset: 12px 8px 7px;
}

.s4d-city-building--a {
    width: 40px;
    height: 72px;
    color: var(--blue-spot4dis);
    background-color: #fffffff0;
    left: 4px;
}

.s4d-city-building--a:before {
    content: "";
    background: var(--blue-spot4dis);
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
    height: 16px;
    position: absolute;
    top: -14px;
    left: -1px;
    right: -1px;
}

.s4d-city-building--b {
    color: #ffffffc7;
    background-color: #315d9e;
    width: 39px;
    height: 116px;
    left: 47px;
}

.s4d-city-building--c {
    width: 49px;
    height: 92px;
    color: var(--blue-spot4dis);
    background-color: var(--s4d-off-white);
    left: 89px;
}

.s4d-city-building--c:before {
    content: "";
    background: var(--oranje-spot4dis);
    border-radius: 3px 3px 0 0;
    height: 7px;
    position: absolute;
    top: -7px;
    left: 6px;
    right: 6px;
}

.s4d-city-building--d {
    color: #ffffffb8;
    background-color: #0b2f6b;
    width: 44px;
    height: 154px;
    left: 142px;
}

.s4d-city-building--d:before {
    content: "";
    background: #0b2f6b;
    width: 2px;
    height: 19px;
    position: absolute;
    top: -19px;
    left: 50%;
}

.s4d-city-building--e {
    color: #ffffffdb;
    clip-path: polygon(0 12px, 100% 0, 100% 100%, 0 100%);
    background-color: #6f8fbe;
    width: 52px;
    height: 104px;
    left: 190px;
}

.s4d-city-building--f {
    color: #ffffffbf;
    background-color: var(--blue-spot4dis);
    width: 38px;
    height: 132px;
    left: 246px;
}

.s4d-city-building--g {
    width: 42px;
    height: 78px;
    color: var(--blue-spot4dis);
    background-color: #fffffff0;
    left: 288px;
}

.s4d-city-building--g:before {
    content: "";
    background: var(--oranje-spot4dis);
    border-radius: 4px 4px 0 0;
    height: 8px;
    position: absolute;
    top: -8px;
    left: -4px;
    right: -4px;
}

.s4d-city-building--h {
    color: #ffffffc7;
    z-index: 4;
    background-color: #2b6f78;
    width: 34px;
    height: 61px;
    left: 116px;
}

.s4d-city-sidewalk {
    z-index: 4;
    background: #ffffffc7;
    border-top: 1px solid #13428f29;
    height: 8px;
    position: absolute;
    bottom: 43px;
    left: 0;
    right: 0;
}

.s4d-city-road {
    z-index: 3;
    background: #8fa6bd;
    border-radius: 2px 2px 10px 10px;
    height: 43px;
    position: absolute;
    bottom: 0;
    left: -4px;
    right: -4px;
}

.s4d-city-road:after {
    content: "";
    background: repeating-linear-gradient(90deg, #ffffffeb 0 18px, transparent 18px 31px);
    height: 2px;
    position: absolute;
    top: 20px;
    left: 12px;
    right: 12px;
}

.s4d-city-road i {
    z-index: 2;
    background: var(--oranje-spot4dis);
    width: 34px;
    height: 14px;
    box-shadow: 145px 10px 0 -3px var(--blue-spot4dis);
    border-radius: 8px 10px 3px 3px;
    position: absolute;
    top: 9px;
    left: 69px;
}

.s4d-city-road i:before,
.s4d-city-road i:after {
    content: "";
    background: #0b2f6b;
    border-radius: 50%;
    width: 7px;
    height: 7px;
    position: absolute;
    bottom: -3px;
}

.s4d-city-road i:before {
    left: 4px;
}

.s4d-city-road i:after {
    right: 4px;
}

.s4d-city-tree {
    z-index: 5;
    background: #315d9e;
    border-radius: 3px 3px 0 0;
    width: 6px;
    height: 22px;
    position: absolute;
    bottom: 47px;
}

.s4d-city-tree:before {
    content: "";
    background: #8ba98a;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    position: absolute;
    top: -13px;
    left: -8px;
    box-shadow: 0 0 0 4px #ffffff52;
}

.s4d-city-tree--a {
    left: 12px;
}

.s4d-city-tree--b {
    transform-origin: bottom;
    left: 97px;
    transform: scale(.82);
}

.s4d-city-tree--c {
    transform-origin: bottom;
    right: 86px;
    transform: scale(.9);
}

.s4d-city-tree--d {
    right: 10px;
}

.s4d-city-pmr {
    z-index: 6;
    background: var(--blue-spot4dis);
    color: var(--white);
    border: 2px solid var(--white);
    border-radius: 9px;
    place-items: center;
    width: 30px;
    height: 30px;
    display: grid;
    position: absolute;
    bottom: 9px;
    right: 41px;
    box-shadow: 0 5px 12px #13428f40;
}

.s4d-city-signal {
    z-index: 7;
    width: 44px;
    height: 44px;
    color: var(--blue-spot4dis);
    background: #fffffff7;
    border: 1px solid #13428f1f;
    border-radius: 14px;
    place-items: center;
    animation: 6s ease-in-out infinite s4d-city-float;
    display: grid;
    position: absolute;
    box-shadow: 0 11px 25px #13428f26;
}

.s4d-city-signal:after {
    content: "";
    background: linear-gradient(#13428f42, transparent);
    width: 1px;
    height: 24px;
    position: absolute;
    top: 100%;
}

.s4d-city-signal svg {
    display: block;
}

.s4d-city-signal--a {
    top: 89px;
    left: 17px;
}

.s4d-city-signal--b {
    animation-delay: -1.5s;
    top: 27px;
    left: 112px;
}

.s4d-city-signal--c {
    animation-delay: -3s;
    top: 21px;
    right: 25px;
}

.s4d-city-signal--d {
    animation-delay: -4.5s;
    top: 103px;
    right: 63px;
}

@keyframes s4d-city-float {

    0%,
    to {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

/* CTA */
.s4d-cta-section {
    background: var(--blue-spot4dis);
    color: var(--white);
}

body.high-contrast .s4d-cta-section,
body.white-text-mode .s4d-cta-section {
    background-color: #000 !important;
}

.s4d-cta-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 4rem;
}

.s4d-cta-grid h2 {
    color: var(--white);
    font-weight: 400;
    letter-spacing: -0.02em;
    max-width: 780px;
    margin: 0;
}

.s4d-cta-actions {
    display: grid;
    justify-items: start;
    gap: 16px;
}

.s4d-cta-actions a.s4d-text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    padding-bottom: 4px;
    font-weight: 700;
    font-size: .9rem;
}

/* -------------------------
    RESPONSIVE
------------------------- */
@media (max-width: 1080px) {
    .s4d-hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .s4d-capability-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .s4d-capability-strip span:nth-child(3) {
        border-left: none;
    }

    .s4d-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .s4d-live-map-heading,
    .s4d-field-heading,
    .s4d-ecosystem-heading {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .s4d-live-map-frame {
        height: 560px;
    }

    .s4d-field-gallery {
        grid-template-columns: 1fr;
    }

    .s4d-solution-panel {
        grid-template-columns: 44px 1fr;
    }

    .s4d-solution-panel > :last-child,
    .s4d-data-visual {
        grid-column: 2;
    }

    .s4d-cta-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .spot4dis-people-page .s4d-shell {
        padding: 0 6%;
    }

    .s4d-hero-copy h1 {
        font-size: clamp(2.4rem, 10vw, 3.2rem);
    }

    .s4d-button-row {
        flex-direction: column;
    }

    .spot4dis-people-page .s4d-button {
        width: 100%;
    }

    .s4d-capability-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .s4d-features-grid {
        grid-template-columns: 1fr;
    }

    .s4d-phone-stage {
        min-height: 420px;
        transform: scale(.92);
    }

    .s4d-live-map-frame {
        height: 480px;
        border-radius: 22px;
    }

    .s4d-map-search-card {
        top: 10px;
        left: 10px;
        width: calc(100% - 72px);
        height: 48px;
    }

    .s4d-map-search-results {
        top: 66px;
        left: 10px;
        width: calc(100% - 20px);
    }

    .s4d-map-tool {
        top: 10px;
        right: 10px;
        width: 44px;
        height: 44px;
    }

    .s4d-map-legend-toggle {
        left: 10px;
        bottom: 10px;
    }

    .s4d-map-legend-panel {
        left: 10px;
        bottom: 60px;
    }

    .s4d-map-area-note {
        text-align: left;
    }

    .s4d-solution-panel {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 30px 24px;
    }

    .s4d-solution-panel > :last-child,
    .s4d-data-visual {
        grid-column: 1;
    }

    .s4d-data-visual {
        margin: -15px auto;
        transform: scale(.83);
    }

    .s4d-solution-number {
        position: absolute;
        top: 22px;
        right: 24px;
    }
}
