/* The active property, headline, and story share a single audience selection. */
.site-header { --header-gutter: clamp(1rem, 2.5vw, 3rem); width: 100%; max-width: none; padding: 1.25rem max(var(--header-gutter), calc((100% - 1440px) / 2 + var(--header-gutter))); gap: 1.5rem; }
.header-brand { display: flex; align-items: center; gap: 1.5rem; min-width: 0; }
.header-brand .brand-logo { flex: 0 0 auto; }
#service-title { margin: 0; padding-left: 1.5rem; border-left: 2px solid var(--brand-sand); max-width: none; min-width: 0; font-size: 1.125rem; line-height: 1.35; font-weight: 400; letter-spacing: -.015em; color: var(--navy); text-align: left; text-wrap: pretty; }
#service-title > span { display: block; color: inherit; }
#service-title .service-tagline { margin-top: .125rem; font-size: 1rem; line-height: 1.4; letter-spacing: -.01em; color: var(--blue); }
.hero { padding: .5rem clamp(1rem, 2.5vw, 3rem) .75rem; }
.audience-experience { --hero-content-width: 1080px; --carousel-edge-space: 26px; padding: 0 0 var(--carousel-edge-space); border-radius: 24px 24px 0 0; background: var(--brand-sky-soft); }
.hero-gallery { position: relative; max-width: none; margin: 0; padding: 0 1.5rem; scroll-margin-top: 110px; }
#audience-hero-panel { max-width: var(--hero-content-width); margin: 1.5rem auto 0; width: calc(100% - 3rem); padding: 1.8rem clamp(1.5rem, 4vw, 4rem) 0; border-radius: 20px; background: white; scroll-margin-top: 110px; text-align: left; font-size: 1.125rem; line-height: 1.6; font-weight: 400; }
#main-title { margin: 0 auto 2.4rem; font-size: clamp(1.75rem, 2.8vw, 2.5rem); line-height: 1.18; font-weight: 900; letter-spacing: -.035em; max-width: 920px; color: var(--navy); text-align: center; text-wrap: balance; }
#main-title .title-accent { color: var(--blue); }
.hero-comparison { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); align-items: stretch; gap: 2rem; }
.hero-before { padding: 1.8rem 0; min-width: 0; }
.hero-after { padding: 1.8rem 1.75rem; min-width: 0; border-radius: 18px; background: var(--brand-sky); }
#audience-hero-panel .hero-state { display: inline-block; margin: 0 0 1.8rem; font: inherit; letter-spacing: .04em; text-transform: uppercase; color: var(--navy); }
#audience-hero-panel .hero-after .hero-state { font-weight: 600; }
#audience-hero-panel .hero-state-logo { display: inline-block; width: auto; height: 1em; vertical-align: -.1em; }
.hero-before .hero-state { box-shadow: inset 0 -7px var(--brand-sand); }
#audience-pain, #audience-solution p { margin: 0; font: inherit; }
#audience-pain { color: var(--muted); max-width: 36ch; }
#audience-solution { color: var(--navy); }
#audience-solution p + p { margin-top: 1.8rem; }
.property-carousel { position: relative; max-width: none; margin: 0 auto; padding-block: var(--carousel-edge-space); isolation: isolate; }
.carousel-visual { position: relative; }
.hero #properties { position: relative; display: block; height: 260px; margin: 0 auto; max-width: none; touch-action: pan-y pinch-zoom; user-select: none; -webkit-user-select: none; cursor: grab; }
.hero #properties::before { content: ''; position: absolute; width: 66%; height: 30%; left: 17%; bottom: 2%; border-radius: 50%; background: radial-gradient(ellipse, #edf2fb 0%, #edf2fb66 40%, #ffffff00 72%); pointer-events: none; }
.hero #properties .property { position: absolute; left: 50%; top: 46%; width: 260px; aspect-ratio: 190 / 164; padding: 0; margin: 0; border-radius: 20px; transform: translate(-50%, -50%) translate(var(--orbit-x, 0px), var(--orbit-y, 0px)) scale(var(--orbit-scale, .22)); transform-origin: center; opacity: var(--orbit-opacity, 0); will-change: transform, opacity; cursor: pointer; }
.hero #properties .property[data-orbit-position="front"], .hero #properties .property[data-orbit-position="back"] { pointer-events: none; }
.hero #properties .architecture { display: block; width: 100%; height: 100%; }
.hero #properties .architecture svg,
.hero #properties .property.selected .architecture svg,
.hero #properties .property:hover .architecture svg { display: block; width: 100%; max-width: none; height: 100%; transform: none; opacity: 1; transition: none; filter: none; }
.bivo-property-art { pointer-events: none; user-select: none; mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.hero #properties .label, .hero #properties .audience-examples { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; padding: 0; margin: 0; }
.hero #properties.is-dragging, .hero #properties.is-dragging .property { cursor: grabbing; }
.carousel-controls { position: absolute; inset: 0; max-width: var(--hero-content-width); z-index: 110; display: flex; align-items: center; justify-content: space-between; padding: 0; margin: 0 auto; pointer-events: none; }
.carousel-arrow { width: 44px; height: 44px; flex: 0 0 44px; padding: 10px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); color: var(--blue); background: white; pointer-events: auto; transition: background-color .18s, transform .18s; }
.carousel-arrow svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.carousel-arrow:hover { background: var(--brand-sky); transform: scale(1.06); }
.carousel-arrow:active { transform: scale(.94); }
.carousel-arrow:focus-visible, .carousel-segments button:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.carousel-segments { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; width: 100%; min-width: 0; max-width: 1000px; margin: 0 auto; }
.carousel-segments button { position: relative; min-width: 0; min-height: 48px; padding: 10px 8px; border: 0; border-radius: 12px; background: transparent; color: var(--navy); font-size: 1rem; line-height: 1.3; text-align: center; transition: color .2s, background-color .2s; }
.carousel-segment-title { display: block; font: inherit; font-weight: 400; }
.carousel-segments button:hover { color: var(--blue); background: var(--brand-sky); }
.carousel-segments button[aria-pressed="true"] { background: var(--blue); box-shadow: inset 0 -3px 0 var(--brand-sand); color: white; font-weight: 400; }
.carousel-segments button[aria-pressed="true"]::after { content: ''; position: absolute; bottom: -6px; left: calc(50% - 6px); width: 12px; height: 6px; background: var(--brand-sand); clip-path: polygon(0 0, 100% 0, 50% 100%); }
#audience-description { display: grid; align-items: center; justify-items: center; min-height: 3em; margin: 12px 0 0; padding: 6px 0; overflow: clip; color: var(--muted); font-size: 1rem; line-height: 1.5; font-weight: 400; text-align: center; }
/* All descriptions reserve the same space; only the one near the front is visible. */
.carousel-audience-copy { grid-area: 1 / 1; width: 100%; max-width: 46rem; margin: 0; opacity: var(--caption-opacity, 0); transform: translate(var(--caption-x, 0px), var(--caption-y, 0px)) scale(var(--caption-scale, 1)); transform-origin: center; will-change: transform, opacity; pointer-events: none; }
.carousel-audience-copy:first-child { --caption-opacity: 1; }
.hero-flow-link { display: block; max-width: 100%; border: 0; background: none; color: var(--navy); font-size: .9rem; line-height: 1.5; font-weight: 400; padding: 19.2px 72px 32px; min-height: 44px; margin: 15.84px auto 0; text-decoration: underline; text-decoration-color: var(--brand-sand); text-decoration-thickness: 4px; text-underline-offset: 6px; }
#zgodba { padding-top: 20px; padding-bottom: 0; }
#story-content { scroll-margin-top: 95px; }
/* Keep sticky story content clear of the opaque header in both header sizes. */
#home-cinema .hc-track:not(.hc-static) > .hc-stage,
#rental-cinema .rc-track:not(.rc-static) > .rc-stage,
#long-cinema .rc-track:not(.rc-static) > .rc-stage,
#hotel-experience .hb-track > .hb-stage,
#management-experience .mg-track > .mg-stage {
  top: var(--site-header-space, 0px);
  height: calc(100svh - var(--site-header-space, 0px));
  min-height: 0;
}
#zgodba .hc-nav button[aria-current="step"]::after { height: 3px; background: var(--brand-sand); }
#zgodba .rc-nav button[aria-current="step"], #zgodba .hb-nav button[aria-current="step"], #zgodba .mg-nav button[aria-current="step"] { border-bottom: 3px solid var(--brand-sand); }
.audience-examples-switch { display: flex; gap: 6px; width: fit-content; max-width: 100%; margin: 12px auto 0; padding: 4px; border: 1px solid var(--line); border-radius: 30px; background: white; }
.audience-examples-switch[hidden] { display: none; }
.audience-examples-switch button { border: 0; background: none; color: var(--muted); font-size: 14px; padding: 10px 16px; min-height: 44px; border-radius: 25px; }
.audience-examples-switch button[aria-pressed="true"] { color: white; background: var(--blue); font-weight: 700; }
.management-mode #story-content > .story-top, .management-mode #story-content > .story-note,
.management-mode #home-scenarios, .management-mode #journey, .management-mode .story-layout,
.management-mode .story-foot, .management-mode .care { display: none; }
body:has(.management-mode) #final-cta { display: none; }
.management-mode { background: var(--brand-sky); }
.mg-track { height: 600svh; }
.mg-stage { position: sticky; top: 0; height: 100svh; min-height: 0; display: grid; grid-template-columns: .9fr 1.1fr; gap: 6%; align-items: center; padding: 60px 0 85px; }
.mg-copy { position: relative; z-index: 1; }
.mg-copy h2 { margin: 0 0 20px; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.1; letter-spacing: -.035em; font-weight: 900; text-wrap: balance; }
.mg-description { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
.mg-roles:empty { display: none; }
.mg-role-loop { position: relative; width: 100%; max-width: 440px; height: 222px; margin-top: 24px; }
.mg-role-links { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.mg-link { fill: none; stroke: #a6bbcc; stroke-width: 1.5; }
.mg-role-loop[data-phase="urgent"] .mg-link--intake,
.mg-role-loop[data-phase="approval"] .mg-link--coordination,
.mg-role-loop[data-phase="completed"] .mg-link--intake { stroke: var(--blue); stroke-width: 2; }
.mg-shared-info { position: absolute; top: 87px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 12px; line-height: 18px; font-weight: 700; color: var(--navy); }
.mg-role { position: absolute; display: grid; justify-items: center; align-content: center; gap: 5px; padding: 10px 11px; border: 1px solid #c4d3df; border-radius: 13px; background: var(--brand-sky-soft); text-align: center; color: var(--navy); }
.mg-role strong { font-size: 14px; line-height: 18px; font-weight: 700; }
.mg-role span { font-size: 12px; line-height: 16px; }
.mg-role span b { font-weight: 700; }
.mg-role img { display: block; width: 48px; height: 18px; object-fit: contain; }
.mg-role--community { top: 0; left: 50%; width: 46%; min-height: 64px; transform: translateX(-50%); }
.mg-role--bivo, .mg-role--manager { bottom: 0; width: 44%; min-height: 96px; border-color: var(--blue); border-bottom: 3px solid var(--brand-sand); }
.mg-role--bivo { right: 0; }
.mg-role--manager { left: 0; }
.mg-role.is-active { border-color: var(--blue); background: var(--blue); color: white; box-shadow: 0 6px 18px #225ecf12; }
.mg-role.is-active img { filter: brightness(0) invert(1); }
.mg-role--manager.is-active, .mg-role--bivo.is-active { border-bottom-color: var(--brand-sand); }
.mg-visual { position: relative; min-width: 0; padding-top: 0; }
.mg-panel { position: relative; padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: 0 16px 50px #00315309; min-height: 410px; }
.mg-panel-heading { display: flex; align-items: center; gap: 16px; border-bottom: 1px solid var(--brand-neutral); padding-bottom: 18px; margin-bottom: 4px; }
.mg-panel-titles { display: grid; flex: 1; gap: 9px; min-width: 0; }
.mg-panel-titles > span { font-size: 13px; color: var(--muted); }
.mg-panel-titles > strong { font-size: 21px; line-height: 1.25; color: var(--navy); }
.mg-property-art { display: block; flex: 0 0 100px; height: 82px; }
.mg-property-art > svg, .mg-task-art > svg { display: block; width: 100%; height: 100%; }
.mg-property-art[data-building], .mg-task-art[data-building] { position: relative; }
.mg-property-art[data-building] > svg, .mg-task-art[data-building] > svg { transform: scale(var(--building-scale)); transform-origin: center bottom; }
[data-building="A"] { --building-scale: .93; --building-color: #225ecf; --building-tint: #edf2fb; }
[data-building="B"] { --building-scale: .82; --building-color: #765d30; --building-tint: #f5f0da; }
[data-building="C"] { --building-scale: .9; --building-color: #3d6580; --building-tint: #e8f1f7; }
.mg-property-art[data-building]::after, .mg-task-art[data-building]::after {
  content: attr(data-building); position: absolute; left: 0; bottom: 0;
  display: grid; place-items: center; width: 20px; height: 20px;
  border: 1px solid #fff; border-radius: 6px; background: var(--building-tint);
  color: var(--building-color); font-size: 12px; line-height: 1; font-weight: 700;
}
.mg-task { display: grid; grid-template-columns: 82px minmax(0, 1fr); align-items: center; gap: 16px; border-bottom: 1px solid var(--brand-neutral); padding: 16px 0; }
.mg-task:last-child { border-bottom: 0; padding-bottom: 0; }
.mg-task-art { display: block; height: 76px; }
.mg-task-copy { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 10px; }
.mg-task-copy > small, .mg-task-copy > p { grid-column: 1 / -1; }
.mg-task small { font-size: 12px; color: var(--muted); }
.mg-task strong { font-size: 15px; }
.mg-task-copy > p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.mg-status { width: fit-content; background: var(--brand-sky); color: var(--blue); border-radius: 6px; padding: 6px 8px; font-size: 11px; line-height: 1.3; }
.mg-status.is-done { background: #eef7f3; color: #266653; }
.mg-details { margin: 0; }
.mg-details > div { display: grid; grid-template-columns: .75fr 1.25fr; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--brand-neutral); font-size: 14px; line-height: 1.5; }
.mg-details dt { color: var(--muted); font-size: 14px; line-height: 1.5; }
.mg-details dd { margin: 0; color: var(--navy); font-size: 14px; line-height: 1.5; }
.mg-note { margin-top: 17px; padding: 13px 15px; border-radius: 8px; background: var(--brand-sky-soft); font-size: 14px; line-height: 1.5; color: var(--navy); }
.mg-received { margin-top: 18px; padding: 12px 15px; background: var(--brand-sky); color: var(--blue); border-radius: 8px; font-size: 15px; font-weight: 700; }
.mg-received.is-done { background: #eef7f3; color: #266653; }
.mg-demo { margin: 16px 0 0; font-size: 12px; line-height: 1.4; color: var(--muted); }
.mg-approve { display: block; margin-top: 22px; width: 100%; font-size: 15px; }
.mg-approve:disabled { cursor: default; background: var(--navy); opacity: .85; }
.mg-approval-feedback { font-size: 14px; line-height: 1.5; color: var(--blue); }
.mg-approval-feedback:empty { display: none; }
.mg-nav { position: absolute; left: 0; right: 0; bottom: 22px; display: flex; gap: 14px; overflow-x: auto; padding-bottom: 8px; }
.mg-nav button { flex: 0 0 auto; padding: 10px 4px; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--muted); font-size: 13px; min-height: 44px; }
.mg-nav button[aria-current="step"] { border-bottom-color: var(--blue); color: var(--blue); font-weight: 700; }
#management-experience .story-ending { text-align: center; background: var(--brand-sky); }
#management-experience > .story-ending { position: relative; display: flex; flex-direction: column; align-items: center; padding: 75px 22px; }
#management-experience .story-ending h2 { color: var(--navy); font-size: clamp(30px, 3.2vw, 44px); line-height: 1.16; letter-spacing: -.035em; margin: 0; font-weight: 900; }
#management-experience .story-ending .primary { margin-top: 28px; font-size: 16px; min-height: 56px; }
.mg-static-step { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 7%; padding: 90px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 761px) and (max-height: 820px) {
  .mg-stage .mg-copy h2 { margin-bottom: 14px; font-size: clamp(28px, 2.8vw, 36px); }
  .mg-stage .mg-copy .eyebrow { margin-bottom: 14px; }
  .mg-stage .mg-description { font-size: 14px; line-height: 1.5; }
  .mg-stage .mg-role-loop { height: 202px; margin-top: 18px; max-width: 400px; }
  .mg-stage .mg-role { padding: 7px 8px; gap: 3px; }
  .mg-stage .mg-role--community { min-height: 58px; }
  .mg-stage .mg-role--manager, .mg-stage .mg-role--bivo { min-height: 88px; }
  .mg-stage .mg-shared-info { top: 76px; }
  .mg-stage .mg-panel { padding: 20px; min-height: 0; }
  .mg-stage .mg-panel-heading { padding-bottom: 12px; }
  .mg-stage .mg-property-art { flex-basis: 88px; height: 70px; }
  .mg-stage .mg-details > div { padding: 10px 0; }
  .mg-stage .mg-note { margin-top: 12px; padding: 10px 12px; }
  .mg-stage .mg-received { margin-top: 12px; padding: 10px 12px; font-size: 14px; }
  .mg-stage .mg-task { grid-template-columns: 70px minmax(0, 1fr); gap: 12px; padding: 12px 0; }
  .mg-stage .mg-task-art { height: 66px; }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .mg-panel-titles > strong { font-size: 19px; }
  .mg-property-art { flex-basis: 80px; height: 70px; }
  .mg-task-copy { grid-template-columns: 1fr; }
}
@media (min-width: 761px) {
  .hero { --section-gap: 48px; padding-bottom: 0; }
  .audience-experience { --carousel-edge-space: var(--section-gap); }
  #zgodba { padding-top: 16px; }
  /* Keep every desktop story close to the section edge, with navigation below. */
  #home-cinema .hc-track:not(.hc-static) > .hc-stage,
  #rental-cinema .rc-track:not(.rc-static) > .rc-stage,
  #long-cinema .rc-track:not(.rc-static) > .rc-stage {
    grid-template-rows: auto minmax(0, 1fr); padding-top: 24px;
  }
  #home-cinema .hc-track:not(.hc-static) > .hc-stage > .hc-bottom,
  #rental-cinema .rc-track:not(.rc-static) > .rc-stage > .rc-nav,
  #long-cinema .rc-track:not(.rc-static) > .rc-stage > .rc-nav { align-self: end; }
  #hotel-experience .hb-track > .hb-stage,
  #management-experience .mg-track > .mg-stage { align-content: start; padding-top: 24px; }
  #hotel-experience .hb-welcome-static,
  #management-experience .mg-static-step:first-child { padding-top: 24px; }
  #main-title > span { display: block; }
}
/* Give the home story steps equal columns and a steady place for the scroll hint. */
@media (min-width: 761px) {
  #home-cinema .hc-track:not(.hc-static) .hc-bottom {
    display: grid; grid-template-columns: minmax(0, 1fr) 12.25rem;
    align-items: center; gap: 24px; padding: 8px 16px;
  }
  #home-cinema .hc-track:not(.hc-static) .hc-nav {
    display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
    align-items: stretch; gap: 8px; min-width: 0; width: 100%;
  }
  #home-cinema .hc-track:not(.hc-static) .hc-nav button {
    display: flex; align-items: center; justify-content: center;
    min-height: 44px; padding: 12px 8px; margin: 0;
    font-size: 12px; line-height: 20px; text-align: center;
  }
  #home-cinema .hc-track:not(.hc-static) .hc-nav button::after {
    left: 8px; right: 8px; bottom: 2px;
  }
  #home-cinema #hc-scroll-hint {
    display: block; margin: 0; max-width: none;
    font-size: 11px; line-height: 20px; text-align: right; white-space: nowrap;
  }
}
@media (min-width: 761px) and (max-width: 1100px) {
  #home-cinema .hc-track:not(.hc-static) .hc-bottom {
    grid-template-columns: minmax(0, 1fr); row-gap: 4px;
  }
}
/* The same step bar across rental, business and property-manager stories. */
.story-step-nav > .story-scroll-hint { display: none; }
@media (min-width: 761px) {
  #zgodba :is(.rc-track:not(.rc-static), .hb-track, .mg-track) .story-step-nav {
    display: grid; grid-template-columns: repeat(var(--story-step-count), minmax(0, 1fr)) 13.25rem;
    grid-column: 1 / -1; align-items: stretch; gap: 8px;
    width: 100%; min-width: 0; margin: 0; padding: 8px 16px; overflow: visible;
    border-top: 1px solid var(--line); background: transparent; z-index: 3;
  }
  #zgodba :is(.hb-track, .mg-track) .story-step-nav { left: 0; right: 0; bottom: 24px; }
  #zgodba .story-step-nav::before {
    content: ''; position: absolute; top: -1px; left: 0; width: 100%; height: 2px;
    background: var(--blue); transform: scaleX(var(--story-nav-progress, var(--rc-progress, 0)));
    transform-origin: left; pointer-events: none;
  }
  #zgodba .story-step-nav > button {
    display: flex; align-items: center; justify-content: center; position: relative;
    min-height: 44px; min-width: 0; margin: 0; padding: 12px 8px;
    border: 0; background: none; color: var(--muted);
    font-size: 12px; font-weight: 400; line-height: 20px; text-align: center;
  }
  #zgodba .story-step-nav > button::after {
    content: ''; position: absolute; left: 8px; right: 8px; bottom: 2px; height: 3px;
    background: var(--brand-sand); transform: scaleX(0); transform-origin: left; transition: transform .3s;
  }
  #zgodba .story-step-nav > button[aria-current="step"] { border: 0; color: var(--blue); font-weight: 400; }
  #zgodba .story-step-nav > button[aria-current="step"]::after { transform: scaleX(1); }
  #zgodba .story-step-nav > button:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 3px; }
  #zgodba .story-step-nav > .story-scroll-hint {
    display: block; align-self: center; margin: 0 0 0 16px;
    color: var(--muted); font-size: 11px; line-height: 20px; text-align: right; white-space: nowrap;
  }
}
@media (min-width: 761px) and (max-width: 1100px) {
  #zgodba :is(.rc-track:not(.rc-static), .hb-track, .mg-track) .story-step-nav {
    grid-template-columns: repeat(var(--story-step-count), minmax(0, 1fr)); row-gap: 4px;
  }
  #zgodba .story-step-nav > .story-scroll-hint { grid-column: 1 / -1; margin-left: 0; }
}
@media (max-width: 760px) {
  .site-header { padding: 1rem; gap: .75rem; }
  .header-brand { gap: .75rem; flex: 1 1 auto; }
  .header-brand .brand-logo img { width: 56px; }
  #service-title { padding-left: 0; border-left: 0; font-size: .875rem; }
  #service-title .service-tagline { font-size: .875rem; }
  .site-header .nav { flex: 0 0 auto; }
  .site-header .small-cta { max-width: 106px; min-height: 44px; padding: 10px 12px; font-size: .875rem; line-height: 1.2; }
  .hero { padding: .25rem .75rem 0; }
  .audience-experience { --carousel-edge-space: clamp(19px, 5.3vw, 22.5px); border-radius: 20px 20px 0 0; }
  .hero-gallery { padding: 0 .5rem; }
  #main-title { margin-bottom: 2.1rem; font-size: clamp(1.5rem, 6.4vw, 1.875rem); line-height: 1.2; text-align: left; }
  #audience-hero-panel { width: calc(100% - 1.5rem); margin-top: 1.2rem; padding: 1.5rem 1.25rem 0; border-radius: 16px; font-size: 1rem; }
  .hero-comparison { grid-template-columns: minmax(0, 1fr); row-gap: 2.1rem; }
  .hero-before { padding: 0; }
  .hero-after { padding: 1.8rem 1.5rem; border-radius: 18px; }
  #audience-hero-panel .hero-state { margin-bottom: 1.2rem; }
  .hero #properties { height: clamp(190px, 53vw, 225px); }
  .hero #properties .property { width: clamp(170px, 49vw, 205px); }
  .carousel-controls { padding: 0; }
  .carousel-segments button { font-size: .9375rem; }
  #audience-description { font-size: .9375rem; }
  .audience-examples-switch { width: 100%; }
  .audience-examples-switch button { flex: 1; padding: 9px 10px; }
  .mg-static-step { grid-template-columns: 1fr; gap: 38px; padding: 55px 0; }
  .mg-copy h2 { font-size: 30px; }
  .mg-description { font-size: 16px; line-height: 1.5; }
  .mg-role-loop { margin: 24px auto 0; }
  .mg-visual { padding-top: 0; }
  .mg-panel { padding: 20px; min-height: 0; }
  .mg-panel-titles > strong { font-size: 20px; }
  .mg-property-art { flex-basis: 78px; height: 68px; }
  .mg-task { grid-template-columns: 66px minmax(0, 1fr); gap: 12px; }
  .mg-task-copy { grid-template-columns: 1fr; }
  .mg-details > div { grid-template-columns: 1fr; gap: 4px; padding: 12px 0; }
  #management-experience .story-ending h2 { font-size: 30px; }
}
@media (max-width: 640px) {
  .carousel-segments { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .carousel-audience-copy { will-change: auto; }
  .hero #properties .architecture svg { transition: none; }
  .carousel-arrow, .carousel-segments button { transition: none; }
}

/* Approved six-scene manager story: architectural art stays subordinate to live callouts. */
#management-experience .mg-stage,
#management-experience .mg-static-step {
  grid-template-columns: minmax(300px, .78fr) minmax(0, 1.42fr);
  gap: clamp(28px, 4vw, 64px);
}
#management-experience .mg-copy { align-self: center; min-width: 0; }
#management-experience .mg-copy h2 {
  max-width: 11.5em; margin-bottom: 18px;
  font-size: clamp(34px, 3.3vw, 54px); line-height: 1.06; letter-spacing: -.035em;
}
#management-experience .mg-description { max-width: 34em; font-size: clamp(15px, 1.2vw, 19px); line-height: 1.5; }
#management-experience .mg-role-loop { max-width: 440px; }
#management-experience .mg-role--manager,
#management-experience .mg-role--bivo {
  border-color: var(--blue); border-bottom-color: var(--brand-sand);
  background: var(--blue); color: white;
}
#management-experience .mg-role--bivo img { filter: brightness(0) invert(1); }
#management-experience .mg-visual {
  position: relative; align-self: center; width: 100%; height: min(620px, calc(var(--desktop-story-stage, 880px) - 88px));
  min-height: 470px; overflow: visible; isolation: isolate;
}
.mg-art-stack, .mg-overlays { position: absolute; inset: 0; }
.mg-art-group {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity .32s ease, transform .42s ease, visibility .32s;
  transform: translateY(8px); pointer-events: none;
}
.mg-art-group img { position: absolute; display: block; width: auto; height: auto; object-fit: contain; }
.mg-art-a img { width: min(76%, 590px); right: 7%; bottom: 0; }
.mg-art-b img { width: min(72%, 560px); right: 7%; bottom: 0; }
.mg-art-overview img { width: min(92%, 730px); right: 0; bottom: 1%; }
.mg-stage:is([data-mg-scene="0"], [data-mg-scene="1"], [data-mg-scene="2"]) .mg-art-a,
.mg-stage[data-mg-scene="3"] .mg-art-overview,
.mg-stage:is([data-mg-scene="4"], [data-mg-scene="5"]) .mg-art-b,
.mg-static-step:is([data-mg-scene="0"], [data-mg-scene="1"], [data-mg-scene="2"]) .mg-art-a,
.mg-static-step[data-mg-scene="3"] .mg-art-overview,
.mg-static-step:is([data-mg-scene="4"], [data-mg-scene="5"]) .mg-art-b {
  opacity: 1; visibility: visible; transform: none;
}
.mg-locator {
  position: absolute; display: grid; place-items: center; width: 42px; height: 52px;
  border-radius: 50% 50% 50% 8px; background: #ff666b; color: white;
  box-shadow: 0 8px 20px #00315318; transform: rotate(-45deg); opacity: 0;
}
.mg-locator > span { display: grid; place-items: center; transform: rotate(45deg); }
.mg-locator svg { width: 24px; height: 24px; fill: currentColor; stroke: none; }
.mg-locator-check { display: none !important; }
.mg-locator-a { right: 13%; bottom: 18%; }
.mg-leak {
  position: absolute; right: 16%; bottom: 12%; width: 35px; height: 14px; border-radius: 50%;
  background: #65b9df66; filter: blur(2px); opacity: 0;
}
[data-mg-scene="0"] :is(.mg-locator-a, .mg-leak), [data-mg-scene="1"] .mg-locator-a { opacity: 1; }
[data-mg-scene="2"] .mg-locator-a { opacity: 1; background: #2eaf64; }
[data-mg-scene="2"] .mg-locator-drop { display: none; }
[data-mg-scene="2"] .mg-locator-check { display: grid !important; }
[data-mg-scene="2"] .mg-locator-check svg { fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.mg-building-badge {
  position: absolute; top: 10%; left: 46%; padding: 8px 16px; border: 1px solid #bfd3f7;
  border-radius: 10px; background: white; color: var(--muted); font-size: 12px; letter-spacing: .12em;
}
.mg-building-badge b { margin-left: 8px; color: var(--blue); font-size: 18px; }
.mg-overlays { z-index: 3; pointer-events: none; }
.mg-leader {
  position: absolute; z-index: -1; display: block; height: 1px; background: #8faec8;
  opacity: 0; visibility: hidden; transform-origin: left center; pointer-events: none;
}
[data-mg-scene="0"] :is(.mg-leader-help, .mg-leader-incident),
[data-mg-scene="1"] .mg-leader-incident,
[data-mg-scene="3"] :is(.mg-leader-status-a, .mg-leader-status-b, .mg-leader-status-c),
[data-mg-scene="4"] .mg-leader-device { opacity: .72; visibility: visible; }
.mg-leader-help { top: 18%; right: 22%; width: 18%; transform: rotate(22deg); }
.mg-leader-incident { right: 14%; bottom: 19%; width: 17%; transform: rotate(-31deg); }
.mg-leader-device { right: 14%; bottom: 28%; width: 19%; transform: rotate(-24deg); }
.mg-leader-status-a { left: 20%; top: 43%; width: 16%; transform: rotate(18deg); }
.mg-leader-status-b { right: 22%; top: 49%; width: 15%; transform: rotate(166deg); }
.mg-leader-status-c { right: 22%; top: 15%; width: 15%; transform: rotate(155deg); }
.mg-bubble, .mg-approval-card {
  position: absolute; display: flex; align-items: center; gap: 14px;
  border: 1px solid #b9d1ff; border-radius: 16px; background: white; color: var(--navy);
  box-shadow: 0 12px 32px #00315312; opacity: 0; visibility: hidden;
  transform: translateY(8px); transition: opacity .28s ease, transform .36s ease, visibility .28s;
}
.mg-bubble { padding: 16px 20px; }
.mg-bubble strong { display: block; font-size: clamp(16px, 1.55vw, 23px); line-height: 1.15; }
.mg-bubble span { display: block; margin-top: 4px; font-size: clamp(13px, 1.1vw, 17px); }
.mg-bubble-icon { flex: 0 0 auto; color: var(--blue); }
.mg-bubble-icon svg, .mg-library-item svg { display: block; width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
[data-mg-scene="0"] :is(.mg-help, .mg-leak-card),
[data-mg-scene="1"] .mg-approval-card,
[data-mg-scene="2"] :is(.mg-proof-group, .mg-complete),
[data-mg-scene="3"] .mg-object-status,
[data-mg-scene="4"] :is(.mg-library, .mg-device),
[data-mg-scene="5"] :is(.mg-service, .mg-coordinates) {
  opacity: 1; visibility: visible; transform: none; pointer-events: auto;
}
.mg-help { top: 5%; right: 0; min-width: 250px; }
.mg-leak-card { right: 1%; bottom: 1%; min-width: 240px; }
.mg-approval-card {
  right: 0; bottom: 0; width: min(480px, 76%); display: grid; gap: 4px; padding: 18px 20px;
}
.mg-approval-top { display: flex; justify-content: space-between; gap: 16px; }
.mg-approval-top small { color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.mg-approval-top span { color: var(--muted); font-size: 12px; }
.mg-approval-card > strong { font-size: clamp(19px, 2vw, 27px); line-height: 1.2; }
.mg-approval-card > b { font-size: clamp(28px, 3vw, 42px); line-height: 1; }
.mg-approval-card .mg-approve { min-height: 48px; margin-top: 8px; font-size: 20px; }
.mg-approval-card .mg-approval-feedback { min-height: 0; margin: 4px 0 0; }
.mg-proof-group { top: 1%; right: 0; width: min(470px, 78%); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; padding: 14px 10px; }
.mg-proof-item { display: grid; justify-items: center; align-content: center; gap: 7px; min-width: 0; padding: 0 10px; color: var(--blue); text-align: center; }
.mg-proof-item + .mg-proof-item { border-left: 1px solid var(--line); }
.mg-proof-item svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.mg-proof-item strong { color: var(--navy); font-size: 16px; line-height: 1.2; overflow-wrap: anywhere; }
.mg-complete { right: 0; bottom: 1%; }
.mg-complete .mg-bubble-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #2eaf64; color: white; }
.mg-complete .mg-bubble-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 3; }
.mg-object-status { padding: 15px 18px; }
.mg-object-status > b { color: var(--blue); font-size: 30px; }
.mg-object-status > strong { font-size: 16px; white-space: nowrap; }
.mg-object-status .mg-bubble-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #2eaf64; color: white; }
.mg-object-status .mg-bubble-icon svg { width: 25px; height: 25px; stroke-width: 3; }
.mg-status-a { left: 2%; top: 29%; }
.mg-status-b { right: 0; top: 36%; }
.mg-status-b i { display: block; width: 40px; height: 40px; border: 5px solid #f4b400; border-radius: 50%; }
.mg-status-c { right: 0; top: 1%; }
.mg-status-c .mg-bubble-icon { background: var(--blue); }
.mg-library { right: 0; top: 1%; padding: 15px 18px; gap: 0; }
.mg-library-item { display: grid; justify-items: center; gap: 6px; min-width: 112px; padding: 0 16px; color: var(--blue); text-align: center; }
.mg-library-item + .mg-library-item { border-left: 1px solid var(--line); }
.mg-library-item strong { color: var(--navy); font-size: 15px; }
.mg-library-item:nth-child(2) { color: #f4b400; }
.mg-device { right: 0; bottom: 18%; padding: 11px 18px; }
.mg-device > b { color: var(--blue); font-size: 26px; }
.mg-device > span { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.mg-service { right: 0; top: 5%; min-width: 310px; }
.mg-service .mg-bubble-icon svg { width: 46px; height: 46px; }
.mg-service > div > strong { font-size: 25px; }
.mg-service em { display: flex; align-items: center; gap: 7px; margin-top: 10px; padding: 7px 10px; border-radius: 8px; background: var(--brand-sky); color: var(--blue); font-size: 13px; font-style: normal; font-weight: 700; }
.mg-service em svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 3; }
.mg-coordinates { right: 0; bottom: 10%; }

/* An illustrative activity summary rests in front of the lower bases, never over the status badges. */
.mg-activity {
  position: absolute; z-index: 2; right: 2%; bottom: 0; width: min(480px, 72%);
  border: 1px solid #b9d1ff; border-radius: 16px; background: white; color: var(--navy);
  box-shadow: 0 12px 32px #00315312; opacity: 0; visibility: hidden;
  transform: translateY(8px); transition: opacity .28s ease, transform .36s ease, visibility .28s;
}
[data-mg-scene="3"] .mg-activity { opacity: 1; visibility: visible; transform: none; }
.mg-activity-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 18px 12px; }
.mg-activity-head > strong { position: relative; font-size: 19px; line-height: 1.25; }
.mg-activity-head > strong::after { content: ''; position: absolute; left: 0; bottom: -8px; width: 28px; height: 3px; background: var(--brand-sand); }
.mg-activity-head > span { flex: none; border-radius: 20px; padding: 4px 11px; background: var(--brand-sky); color: var(--blue); font-size: 12px; }
.mg-activity-rows { margin-top: 8px; }
.mg-activity-row { display: grid; grid-template-columns: 26px 26px minmax(0, 1fr) minmax(112px, auto); align-items: center; gap: 9px; min-height: 49px; padding: 7px 17px; border-top: 1px solid var(--line); font-size: 12px; font-weight: 700; }
.mg-activity-row:nth-child(2) { background: #fff9e9; }
.mg-activity-row > b { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; background: var(--brand-sky); color: var(--blue); font-size: 15px; }
.mg-activity-icon { display: grid; place-items: center; color: var(--blue); }
.mg-activity-icon svg, .mg-activity-state svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mg-activity-task { min-width: 0; }
.mg-activity-state { display: flex; align-items: center; gap: 6px; font-size: 11px; white-space: nowrap; }
.mg-activity-done svg { flex: none; padding: 4px; border-radius: 50%; background: #2eaf64; color: white; stroke-width: 3; }
.mg-activity-wait i { display: block; flex: none; width: 21px; height: 21px; border: 3px solid #f4b400; border-radius: 50%; }
.mg-activity-planned svg { flex: none; color: var(--blue); }

/* Scene 04: keep the buildings above the foreground summary, with the card at their bases. */
@media (min-width: 761px) {
  #management-experience :is(.mg-stage, .mg-static-step)[data-mg-scene="3"] .mg-art-overview img { transform: translateY(-125px); }
  #management-experience :is(.mg-stage, .mg-static-step)[data-mg-scene="3"] .mg-activity { bottom: -20px; }
}

@media (min-width: 761px) and (max-width: 1100px) {
  #management-experience .mg-stage, #management-experience .mg-static-step { grid-template-columns: minmax(280px, .9fr) minmax(0, 1.1fr); gap: 24px; }
  #management-experience .mg-copy h2 { font-size: clamp(30px, 3.5vw, 40px); }
  #management-experience .mg-visual { min-height: 440px; height: min(560px, calc(var(--desktop-story-stage, 880px) - 80px)); }
  .mg-art-a img, .mg-art-b img { width: 82%; right: 4%; }
  .mg-bubble { padding: 12px 14px; }
  .mg-help { min-width: 210px; }
  .mg-leak-card { min-width: 200px; }
  .mg-library-item { min-width: 82px; padding-inline: 9px; }
  .mg-proof-group { width: min(400px, 92%); }
  .mg-object-status > strong { white-space: normal; }
  .mg-status-a { left: 0; top: 27%; }
  .mg-status-b { right: 0; top: 44%; }
  .mg-status-c { right: 0; top: 1%; }
  .mg-activity { width: min(420px, 82%); }
  .mg-activity-row { gap: 5px; padding-inline: 10px; font-size: 11px; }
  #management-experience :is(.mg-stage, .mg-static-step)[data-mg-scene="3"] .mg-art-overview img { transform: translateY(-175px); }
}

@media (max-width: 760px) {
  #management-experience .mg-stage, #management-experience .mg-static-step { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  #management-experience .mg-stage { align-items: stretch; }
  #management-experience .mg-stage .mg-copy { align-self: start; }
  #management-experience .mg-copy h2 { max-width: none; margin-bottom: 7px; font-size: clamp(22px, 6.2vw, 27px); line-height: 1.08; }
  #management-experience .mg-description { font-size: 13px; line-height: 1.35; }
  #management-experience .mg-role-loop { width: min(100%, 350px); height: 140px; margin: 6px auto 0; }
  #management-experience .mg-role-links { view-transition-name: none; }
  #management-experience .mg-role { border-radius: 9px; }
  #management-experience .mg-role--community { width: 46%; height: 44px; min-height: 0; padding: 4px 6px; }
  #management-experience :is(.mg-role--manager, .mg-role--bivo) { width: 46%; height: 70px; min-height: 0; padding: 5px 6px; }
  #management-experience .mg-role strong { font-size: 12px; line-height: 1.15; }
  #management-experience .mg-role span { font-size: 11px; line-height: 1.18; }
  #management-experience .mg-role img { width: 45px; height: 15px; }
  #management-experience .mg-shared-info { top: 47px; font-size: 10.5px; line-height: 15px; }
  #management-experience .mg-visual { width: 100%; height: 100%; min-height: 0; overflow: hidden; }
  #management-experience .mg-stage .mg-art-stack,
  #management-experience .mg-stage .mg-overlays { inset: auto 0; top: 50%; height: min(100%, 360px); transform: translateY(-50%); }
  .mg-art-a img, .mg-art-b img { width: min(74%, 280px); right: 11%; bottom: 2%; }
  .mg-art-overview img { width: 90%; right: 5%; bottom: 4%; }
  #management-experience .mg-static-step[data-mg-scene="3"] .mg-art-overview img { transform: translateY(-90px); }
  .mg-locator { width: 28px; height: 34px; }
  .mg-locator svg { width: 16px; height: 16px; }
  .mg-locator-a { right: 15%; bottom: 16%; }
  .mg-leak { right: 18%; bottom: 10%; width: 24px; height: 9px; }
  .mg-building-badge { top: 2%; left: 3%; padding: 5px 9px; font-size: 11px; }
  .mg-building-badge b { font-size: 14px; }
  .mg-bubble, .mg-approval-card { border-radius: 11px; box-shadow: 0 7px 18px #00315314; }
  .mg-bubble { gap: 8px; padding: 8px 10px; }
  .mg-bubble strong { font-size: 14px; line-height: 1.16; }
  .mg-bubble span { margin-top: 2px; font-size: 12px; line-height: 1.2; }
  .mg-bubble-icon svg, .mg-library-item svg { width: 24px; height: 24px; }
  .mg-help { top: 2%; right: 0; min-width: 174px; }
  .mg-leak-card { right: 0; bottom: 1%; min-width: 174px; }
  .mg-approval-card { right: 0; bottom: 1%; width: min(260px, 86%); padding: 10px 12px; gap: 3px; }
  .mg-approval-top small, .mg-approval-top span { font-size: 10px; line-height: 1.2; }
  .mg-approval-card > strong { font-size: 16px; }
  .mg-approval-card > b { font-size: 21px; }
  .mg-approval-card .mg-approve { min-height: 44px; margin-top: 3px; padding-block: 6px; font-size: 15px; }
  .mg-approval-card .mg-approval-feedback { font-size: 11px; line-height: 1.2; }
  .mg-proof-group { top: 1%; right: 0; width: 100%; padding: 8px 4px; }
  .mg-proof-item { gap: 4px; padding-inline: 4px; }
  .mg-proof-item svg { width: 23px; height: 23px; }
  .mg-proof-item strong { font-size: 11px; }
  .mg-complete { right: 0; bottom: 1%; }
  .mg-complete .mg-bubble-icon { width: 28px; height: 28px; }
  .mg-complete .mg-bubble-icon svg { width: 18px; height: 18px; }
  .mg-object-status { padding: 7px 8px; gap: 6px; }
  .mg-object-status > b { font-size: 17px; }
  .mg-object-status { max-width: 150px; }
  .mg-object-status > strong { font-size: 11px; line-height: 1.15; white-space: normal; }
  .mg-object-status .mg-bubble-icon, .mg-status-b i { width: 24px; height: 24px; }
  .mg-object-status .mg-bubble-icon svg { width: 15px; height: 15px; }
  .mg-status-b i { border-width: 3px; }
  .mg-status-a { left: 0; top: 15%; }
  .mg-status-b { right: 0; top: 34%; }
  .mg-status-c { right: 0; top: 1%; }
  #management-experience .mg-stage[data-mg-scene="3"] .mg-art-stack,
  #management-experience .mg-stage[data-mg-scene="3"] .mg-overlays { height: min(100%, 420px); }
  .mg-activity { right: 0; bottom: 0; width: min(100%, 365px); border-radius: 11px; }
  .mg-activity-head { padding: 9px 12px 8px; }
  .mg-activity-head > strong { font-size: 15px; }
  .mg-activity-head > span { font-size: 11px; }
  .mg-activity-rows { margin-top: 5px; }
  .mg-activity-row { grid-template-columns: 22px 21px minmax(0, 1fr) minmax(100px, auto); gap: 5px; padding: 4px 8px; min-height: 39px; font-size: 11px; }
  .mg-activity-row > b { width: 21px; height: 21px; font-size: 12px; }
  .mg-activity-icon svg, .mg-activity-state svg { width: 18px; height: 18px; }
  .mg-activity-state { font-size: 11px; gap: 4px; }
  .mg-activity-wait i { width: 18px; height: 18px; border-width: 2px; }
  .mg-library { right: 0; top: 1%; width: 88%; justify-content: stretch; padding: 8px 6px; }
  .mg-library-item { flex: 1; min-width: 0; padding: 0 5px; gap: 3px; }
  .mg-library-item strong { font-size: 11px; line-height: 1.15; }
  .mg-device { right: 0; bottom: 8%; padding: 7px 9px; }
  .mg-device > b { font-size: 17px; }
  .mg-device > span { font-size: 11px; line-height: 1.15; }
  .mg-service { right: 0; top: 2%; min-width: 205px; }
  .mg-service .mg-bubble-icon svg { width: 30px; height: 30px; }
  .mg-service > div > strong { font-size: 16px; }
  .mg-service em { margin-top: 5px; padding: 4px 6px; font-size: 11px; }
  .mg-service em svg { width: 13px; height: 13px; }
  .mg-coordinates { right: 0; bottom: 2%; }
  .mg-static-step { padding-block: 48px; }
  #management-experience .mg-static-step .mg-visual { height: clamp(430px, 122vw, 520px); min-height: 430px; overflow: hidden; }
  .mg-leader-help { right: 34%; width: 18%; }
  .mg-leader-incident { right: 23%; bottom: 17%; width: 16%; }
  .mg-leader-device { right: 24%; bottom: 24%; width: 17%; }
  .mg-leader-status-a { left: 26%; top: 37%; width: 14%; }
  .mg-leader-status-b { right: 31%; top: 50%; width: 13%; }
  .mg-leader-status-c { right: 31%; top: 12%; width: 13%; }
}

@media (max-width: 760px) and (max-height: 700px) and (prefers-reduced-motion: no-preference) {
  #management-experience .mg-stage { gap: 3px; padding-top: 7px; padding-bottom: 5px; }
  #management-experience .mg-copy h2 { margin-bottom: 4px; font-size: 20px; }
  #management-experience .mg-description { font-size: 11px; line-height: 1.25; }
  #management-experience .mg-role-loop { height: 126px; margin-top: 2px; }
  #management-experience .mg-role--community { min-height: 42px; }
  #management-experience :is(.mg-role--manager, .mg-role--bivo) { min-height: 66px; }
  #management-experience .mg-shared-info { top: 44px; }
  .mg-art-a img, .mg-art-b img { width: min(67%, 235px); right: 12%; }
  .mg-art-overview img { width: 78%; right: 8%; }
  .mg-help { top: 1%; }
  .mg-leak-card, .mg-approval-card, .mg-complete, .mg-coordinates { bottom: 0; }
  .mg-service { top: 1%; }
  .mg-activity-row { min-height: 35px; }
}

@media (prefers-reduced-motion: reduce) {
  .mg-art-group, .mg-bubble, .mg-approval-card, .mg-activity { transition: none; }
}

/* Leave the full-width story surface for a framed closing card, like the hero. */
.story-ending-shell {
  --ending-gutter: clamp(1rem, 2.5vw, 3rem);
  position: relative; left: 50%; width: 100vw; max-width: none;
  margin: 0; padding: .75rem var(--ending-gutter);
  transform: translateX(-50%); background: #fff;
}
#zgodba .story-ending-shell > .story-ending {
  position: relative; inset: auto; display: flex; flex-direction: column;
  align-items: center; justify-content: center; width: 100%;
  max-width: calc(1440px - 2 * var(--ending-gutter));
  height: auto; min-height: calc(100svh - var(--site-header-space, 0px) - 1.5rem);
  margin: 0 auto; padding: clamp(48px, 6vw, 88px) 24px;
  border-radius: 24px; background: var(--brand-sky-soft);
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: none; overflow: visible; text-align: center;
}
#zgodba .story-ending-shell > .story-ending::before { content: none; }
#zgodba .story-ending-shell .story-ending h2 { transform: none; }
#zgodba .story-ending-shell .ending-segments button { margin-top: 0; }
@media (max-width: 760px) {
  .story-ending-shell { --ending-gutter: .75rem; }
  #zgodba .story-ending-shell > .story-ending {
    min-height: 0; padding: 56px 18px; border-radius: 20px;
  }
}
