/* Waterman 2.3.5 — mobile art direction. Desktop remains owned by the existing styles. */
.roles-mobile-section,
.mcm-cube-art,
.sector-mobile-arrows {
  display: none;
}
.mobile-contact-pause { display: none; }

@media (max-width: 760px) {
  :root {
    --gutter: 14px;
    --wm-mobile-gutter: 14px;
    --wm-mobile-radius: 24px;
    --wm-mobile-line: #d5e1dc;
    --wm-mobile-ink: #123f43;
    --wm-mobile-muted: #60797b;
  }

  html {
    overflow-x: clip;
    scroll-padding-top: 78px;
  }

  body[data-page="home"] {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: clip;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff;
  }

  body[data-page="home"] main {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
  }

  body[data-page="home"] main,
  body[data-page="home"] .container {
    min-width: 0;
  }

  body[data-page="home"] .container {
    width: calc(100% - (var(--wm-mobile-gutter) * 2));
    max-width: none;
    margin-inline: auto;
  }

  body[data-page="home"] .section {
    width: 100%;
    margin-inline: 0;
    padding-block: 72px;
  }

  body[data-page="home"] h1,
  body[data-page="home"] h2,
  body[data-page="home"] h3,
  body[data-page="home"] p,
  body[data-page="home"] summary,
  body[data-page="home"] button,
  body[data-page="home"] a {
    overflow-wrap: normal;
    word-break: normal;
  }

  body[data-page="home"] .eyebrow,
  body[data-page="home"] .section-heading p.eyebrow,
  body[data-page="home"] .sector-panel-content > .eyebrow {
    font-size: 10px;
    line-height: 1.4;
    letter-spacing: .13em;
  }

  /* Header */
  body[data-page="home"] .site-header {
    min-height: 74px;
    background: color-mix(in srgb, #fff 94%, transparent);
    backdrop-filter: blur(16px);
  }

  body[data-page="home"] .header-inner {
    min-height: 74px;
    padding-inline: var(--wm-mobile-gutter);
    gap: 12px;
  }

  body[data-page="home"] .brand {
    gap: 10px;
    min-width: 0;
  }

  body[data-page="home"] .brand img {
    width: 54px;
    height: 54px;
    object-fit: contain;
  }

  body[data-page="home"] .brand > span {
    font-size: 8px;
    line-height: 1.45;
    letter-spacing: .13em;
    white-space: nowrap;
  }

  body[data-page="home"] .header-actions {
    gap: 11px;
  }

  body[data-page="home"] .header-actions .client-link {
    font-size: 12px;
    white-space: nowrap;
  }

  body[data-page="home"] .menu-toggle {
    width: 42px;
    height: 42px;
  }

  body[data-page="home"] .mobile-menu {
    padding: 18px var(--wm-mobile-gutter) 26px;
    border-top: 1px solid var(--wm-mobile-line);
    background: #f8fbf9f7;
    box-shadow: 0 24px 50px -34px #082f36aa;
  }

  /* Hero — one composition, with the product interface acting as a compact dock. */
  body[data-page="home"] .hero {
    width: calc(100% - (var(--wm-mobile-gutter) * 2));
    padding-top: 38px;
  }

  body[data-page="home"] .hero-heading {
    display: block;
    margin-bottom: 32px;
  }

  body[data-page="home"] .hero h1 {
    max-width: 8.2em;
    margin-top: 18px;
    font-size: clamp(44px, 11.8vw, 52px);
    line-height: .98;
    letter-spacing: -.06em;
  }

  body[data-page="home"] .hero-description {
    position: relative;
    margin-top: 28px;
    padding: 20px 0 0 18px;
    border: 0;
    border-left: 1px solid #a8cbc2;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  body[data-page="home"] .hero-description p {
    margin: 14px 0 17px;
    font-size: 16px;
    line-height: 1.58;
  }

  body[data-page="home"] .hero-description p strong {
    display: block;
    margin-bottom: 5px;
    font-size: 18px;
    line-height: 1.32;
  }

  body[data-page="home"] .hero-b2b {
    font-size: 12px;
    line-height: 1.55;
  }

  body[data-page="home"] .service-label {
    font-size: 9px;
    letter-spacing: .08em;
  }

  body[data-page="home"] .hero-media {
    width: calc(100% + (var(--wm-mobile-gutter) * 2));
    height: 448px;
    margin-left: calc(var(--wm-mobile-gutter) * -1);
    border-radius: 0 0 30px 30px;
    overflow: hidden;
    box-shadow: 0 28px 54px -40px #073c4699;
  }

  body[data-page="home"] .hero-pool {
    object-position: 52% center;
  }

  body[data-page="home"] .hero-shade {
    background: linear-gradient(180deg, #052c342e 0%, transparent 36%, #062e376b 100%);
  }

  body[data-page="home"] .hero-image-kicker {
    top: 22px;
    left: var(--wm-mobile-gutter);
    font-size: 9px;
    letter-spacing: .13em;
  }

  body[data-page="home"] .hero-float {
    left: var(--wm-mobile-gutter);
    right: var(--wm-mobile-gutter);
    bottom: 18px;
    width: auto;
    max-width: none;
    padding: 11px 12px 10px;
    border: 1px solid #ffffff99;
    border-radius: 18px;
    background: #f8fcfaf2;
    box-shadow: 0 16px 36px -22px #082e35b5;
    backdrop-filter: blur(13px);
    transform: none !important;
    box-sizing: border-box;
  }

  body[data-page="home"] .hero-float:hover,
  body[data-page="home"] .hero-float:focus-visible {
    transform: none !important;
  }

  body[data-page="home"] .hero-float > div:first-child {
    padding: 0 2px 7px;
    font-size: 7px;
    letter-spacing: .08em;
  }

  body[data-page="home"] .hero-float .dashboard-mini {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    margin: 0;
    border: 0;
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
  }

  body[data-page="home"] .hero-float .mini-top {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    padding: 10px;
    border-right: 1px solid var(--wm-mobile-line);
    border-bottom: 0;
    font-size: 10px;
  }

  body[data-page="home"] .hero-float .mini-top > span:first-child {
    min-width: 0;
    font-size: 9px;
    white-space: nowrap;
  }

  body[data-page="home"] .hero-float .mini-slash {
    padding-inline: 5px;
  }

  body[data-page="home"] .hero-float .mini-concept {
    font-size: 7px;
  }

  body[data-page="home"] .hero-float .mini-performance {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    column-gap: 8px;
    padding: 9px 11px 8px;
    min-width: 0;
    box-sizing: border-box;
  }

  body[data-page="home"] .hero-float .mini-performance > div:first-child {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    min-width: 0;
    padding-right: 47px;
  }

  body[data-page="home"] .hero-float .mini-performance > div:first-child > span {
    min-width: 0;
    font-size: 8px;
    line-height: 1.25;
  }

  body[data-page="home"] .hero-float .mini-performance strong {
    flex: 0 0 auto;
    font-size: 24px;
    line-height: 1;
  }

  body[data-page="home"] .hero-float .mini-performance-note,
  body[data-page="home"] .hero-float .mini-readings {
    display: none;
  }

  body[data-page="home"] .hero-float .mini-progress {
    grid-column: 1 / -1;
    height: 4px;
    margin-top: 8px;
  }

  body[data-page="home"] .hero-float .mini-status {
    font-size: 7px;
  }

  body[data-page="home"] .hero-float > .dashboard-open-hint {
    padding: 8px 2px 0;
    font-size: 10px;
    text-align: right;
    text-decoration: none;
  }

  body[data-page="home"] .hero-under {
    padding: 15px 0 0;
    font-size: 9px;
  }

  /* 500.000 — strong statistic followed by a native mobile story rail. */
  body[data-page="home"] .history-band {
    padding-block: 78px 72px;
    background: linear-gradient(180deg, #fff 0%, #f1f8f5 100%);
  }

  body[data-page="home"] .history-layout {
    display: block;
    margin-bottom: 38px;
  }

  body[data-page="home"] .history-stat > strong {
    display: block;
    margin: 10px 0 3px;
    font-size: clamp(65px, 18vw, 78px);
    line-height: .92;
    letter-spacing: -.07em;
    background-image: linear-gradient(105deg, #8bd65a 4%, #53cbb5 54%, #12b8ec 100%);
  }

  body[data-page="home"] .history-unit {
    font-size: 13px;
    letter-spacing: .05em;
  }

  body[data-page="home"] .history-copy {
    margin-top: 34px;
    padding-top: 28px;
    border-top: 1px solid var(--wm-mobile-line);
  }

  body[data-page="home"] .history-copy h2 {
    font-size: clamp(34px, 9.2vw, 40px);
    line-height: 1.04;
  }

  body[data-page="home"] .history-copy p {
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.65;
  }

  body[data-page="home"] .pattern-top {
    padding: 20px 0 16px;
    gap: 14px;
  }

  body[data-page="home"] .pattern-top > span {
    max-width: 190px;
    font-size: 8px;
    line-height: 1.45;
  }

  body[data-page="home"] .pattern-top button {
    min-width: 0;
    min-height: 44px;
    padding: 9px 13px;
    font-size: 10px;
  }

  body[data-page="home"] .pattern-scenes {
    display: flex;
    grid-template-columns: none;
    gap: 14px;
    width: calc(100% + (var(--wm-mobile-gutter) * 2));
    margin-left: calc(var(--wm-mobile-gutter) * -1);
    padding: 4px var(--wm-mobile-gutter) 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--wm-mobile-gutter);
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }

  body[data-page="home"] .pattern-scenes::-webkit-scrollbar,
  body[data-page="home"] .reviews-grid::-webkit-scrollbar,
  body[data-page="home"] .sector-tabs::-webkit-scrollbar {
    display: none;
  }

  body[data-page="home"] .pattern-card {
    flex: 0 0 min(82vw, 340px);
    min-height: 352px;
    padding: 24px 22px;
    border-radius: 22px;
    scroll-snap-align: center;
    box-shadow: 0 18px 44px -36px #123f4380;
  }

  body[data-page="home"] .pattern-card.is-active {
    transform: none;
    background: linear-gradient(145deg, #f4faef, #edf9f8);
    box-shadow: 0 24px 48px -36px #164a4f99;
  }

  body[data-page="home"] .pattern-card h3 {
    margin: 18px 0 22px;
    min-height: 0;
    font-size: 26px;
    line-height: 1.08;
  }

  body[data-page="home"] .pattern-card p {
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.62;
  }

  body[data-page="home"] .pattern-index {
    font-size: 9px;
    letter-spacing: .1em;
  }

  body[data-page="home"] .pattern-notification,
  body[data-page="home"] .pattern-team {
    min-height: 112px;
    flex-wrap: nowrap;
    gap: 14px;
  }

  body[data-page="home"] .pattern-person,
  body[data-page="home"] .pattern-bell {
    width: 54px;
    height: 64px;
  }

  body[data-page="home"] .pattern-bottom {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
    margin-top: 8px;
  }

  body[data-page="home"] .pattern-steps {
    justify-content: space-between;
    position: relative;
  }

  body[data-page="home"] .pattern-steps::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 20px;
    right: 20px;
    height: 1px;
    background: var(--wm-mobile-line);
    z-index: 0;
  }

  body[data-page="home"] .pattern-steps button {
    position: relative;
    z-index: 1;
    width: 42px;
    height: 42px;
  }

  body[data-page="home"] .pattern-bottom p {
    min-height: 3.2em;
    font-size: 12px;
  }

  /* Walter — compact, readable and visually connected to the questions below. */
  body[data-page="home"] .problem-section {
    padding-block: 80px;
    background: #f8faf9;
  }

  body[data-page="home"] .problem-layout {
    display: block;
  }

  body[data-page="home"] .problem-video-column > h2 {
    margin: 17px 0 30px;
    font-size: clamp(36px, 9.8vw, 43px);
    line-height: 1.02;
  }

  body[data-page="home"] .walter-inline-card {
    position: relative;
    display: block;
    width: min(100%, 340px);
    margin-inline: auto;
    padding: 0;
    border: 0;
    border-radius: 22px;
    overflow: hidden;
    background: #092f36;
    box-shadow: 0 26px 54px -38px #082f36c2;
  }

  body[data-page="home"] .walter-inline-media {
    width: 100%;
    max-width: none;
    height: auto;
    aspect-ratio: 16 / 12;
  }

  body[data-page="home"] .walter-inline-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 24%;
  }

  body[data-page="home"] .walter-inline-media::after {
    content: "";
    position: absolute;
    inset: 22% 0 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg, transparent, #062b32f5 74%);
  }

  body[data-page="home"] .walter-editorial-type {
    inset: 0;
    z-index: 2;
    padding: 16px 18px;
  }

  body[data-page="home"] .walter-editorial-type::before,
  body[data-page="home"] .walter-editorial-type > strong,
  body[data-page="home"] .walter-editorial-type > i {
    display: none;
  }

  body[data-page="home"] .walter-editorial-type > span {
    font-size: 9px;
    letter-spacing: .13em;
  }

  body[data-page="home"] .walter-inline-card figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    padding: 18px 18px 16px;
    color: #fff;
    pointer-events: none;
  }

  body[data-page="home"] .walter-inline-card figcaption .eyebrow {
    color: #a9d8d2;
  }

  body[data-page="home"] .walter-inline-card figcaption h3 {
    margin: 6px 0 5px;
    color: #fff !important;
    font-size: 22px;
    line-height: 1.08;
  }

  body[data-page="home"] .walter-inline-card figcaption p {
    margin: 0;
    color: #dbeae7;
    font-size: 12px;
    line-height: 1.45;
  }

  body[data-page="home"] .walter-inline-card.has-started figcaption,
  body[data-page="home"] .walter-inline-card.has-started .walter-editorial-type {
    opacity: 0;
  }

  body[data-page="home"] .walter-inline-media .walter-play-overlay {
    left: 50%;
    right: auto;
    top: 39%;
    bottom: auto;
    width: 50px;
    height: 50px;
    z-index: 4;
    transform: translate(-50%, -50%);
    background: #f9fcfbec;
  }

  body[data-page="home"] .walter-inline-media .walter-play-overlay:hover {
    transform: translate(-50%, -50%) scale(1.04);
  }

  body[data-page="home"] .problem-accordion {
    position: relative;
    margin-top: 26px;
    padding: 5px 16px;
    border: 1px solid var(--wm-mobile-line);
    border-radius: 22px;
    background: #fff;
    counter-reset: problem-item;
  }

  body[data-page="home"] .problem-accordion::before { display: none; }

  body[data-page="home"] .problem-section .faq-list details {
    position: relative;
    counter-increment: problem-item;
  }

  body[data-page="home"] .problem-section .faq-list details::before {
    content: "0" counter(problem-item);
    position: absolute;
    top: 20px;
    left: 0;
    z-index: 1;
    width: 25px;
    height: 25px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid #bcd8d1;
    border-radius: 50%;
    background: #fff;
    color: #4c8d88;
    font-size: 9px;
    letter-spacing: .04em;
  }

  body[data-page="home"] .problem-section .faq-list summary {
    min-height: 74px;
    padding: 22px 32px 22px 36px;
    font-size: 17px;
    line-height: 1.35;
  }

  body[data-page="home"] .problem-section .faq-list details p {
    padding-bottom: 22px;
    font-size: 14px;
    line-height: 1.65;
  }

  /* Method — connected four-step instrument. */
  body[data-page="home"] .method-section {
    padding-block: 80px;
    background: #fff;
  }

  body[data-page="home"] .method-section .section-heading {
    display: block;
    margin: 17px 0 30px;
  }

  body[data-page="home"] .method-section .section-heading h2 {
    font-size: clamp(36px, 9.8vw, 43px);
    line-height: 1.01;
  }

  body[data-page="home"] .method-section .section-heading p {
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.6;
  }

  body[data-page="home"] .story-layout {
    display: block;
  }

  body[data-page="home"] .story-steps {
    display: none;
  }

  body[data-page="home"] .story-visual {
    display: block;
    position: static;
    padding: 0;
    border: 1px solid var(--wm-mobile-line);
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 24px 54px -44px #143e43aa;
  }

  body[data-page="home"] .story-tabs {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin: 0;
    padding: 19px 16px 16px;
    border-bottom: 1px solid var(--wm-mobile-line);
    background: #f7faf8;
  }

  body[data-page="home"] .story-tabs::before {
    content: "";
    position: absolute;
    top: 39px;
    left: 12.5%;
    right: 12.5%;
    height: 1px;
    background: #c7d8d1;
  }

  body[data-page="home"] .story-tabs button {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    min-width: 0;
    min-height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: transparent;
    font-size: 0;
    box-shadow: none;
  }

  body[data-page="home"] .story-tabs button::before {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid #bed0c8;
    border-radius: 50%;
    background: #fff;
    color: #54706e;
    font-size: 11px;
    transition: color .28s ease, background .28s ease, border-color .28s ease, transform .28s ease;
  }

  body[data-page="home"] .story-tabs button:nth-child(1)::before { content: "01"; }
  body[data-page="home"] .story-tabs button:nth-child(2)::before { content: "02"; }
  body[data-page="home"] .story-tabs button:nth-child(3)::before { content: "03"; }
  body[data-page="home"] .story-tabs button:nth-child(4)::before { content: "04"; }

  body[data-page="home"] .story-tabs button > span {
    display: none;
  }

  body[data-page="home"] .story-tabs button[aria-pressed="true"],
  body[data-page="home"] .story-tabs button[aria-pressed="true"]:hover {
    background: transparent;
  }

  body[data-page="home"] .story-tabs button[aria-pressed="true"]::before {
    border-color: #173f43;
    background: #173f43;
    color: #fff;
    transform: scale(1.08);
  }

  body[data-page="home"] .story-stage {
    height: 238px;
    border: 0;
    border-radius: 0;
    background: radial-gradient(circle at 50% 45%, #e7f7f2, #f7faf8 66%);
  }

  body[data-page="home"] .story-core-value {
    font-size: 50px;
  }

  body[data-page="home"] .story-core-label {
    max-width: 210px;
    font-size: 8px;
    text-align: center;
  }

  body[data-page="home"] .story-data-pill {
    bottom: 17px;
    max-width: calc(100% - 34px);
    padding: 8px 11px;
    font-size: 9px;
  }

  body[data-page="home"] .story-mobile-detail {
    display: block;
    min-height: 154px;
    margin: 0;
    padding: 22px;
    border-top: 1px solid var(--wm-mobile-line);
    background: #fff;
  }

  body[data-page="home"] .story-mobile-detail h3 {
    margin: 0 0 10px;
    color: var(--wm-mobile-ink);
    font-size: 24px;
    line-height: 1.12;
  }

  body[data-page="home"] .story-mobile-detail p {
    margin: 0;
    color: var(--wm-mobile-muted);
    font-size: 14px !important;
    line-height: 1.62;
  }

  /* Three roles, restored only for mobile from the existing content model. */
  body[data-page="home"] .roles-mobile-section {
    display: block;
    padding-block: 76px;
    background: linear-gradient(180deg, #edf7f2, #f6faf8);
  }

  body[data-page="home"] .roles-mobile-heading h2 {
    margin: 17px 0 16px;
    font-size: clamp(34px, 9vw, 40px);
    line-height: 1.04;
    letter-spacing: -.045em;
  }

  body[data-page="home"] .roles-mobile-heading h2 span {
    color: #57958f;
  }

  body[data-page="home"] .roles-mobile-heading > p {
    margin: 0 0 28px;
    color: var(--wm-mobile-muted);
    font-size: 15px;
    line-height: 1.6;
  }

  body[data-page="home"] .role-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    padding: 4px;
    border: 1px solid #cdded7;
    border-radius: 15px;
    background: #ffffffa8;
  }

  body[data-page="home"] .role-tabs button {
    min-width: 0;
    min-height: 44px;
    padding: 9px 5px;
    border: 0;
    border-radius: 11px;
    background: transparent;
    color: #54716f;
    font-size: 12px;
  }

  body[data-page="home"] .role-tabs button[aria-selected="true"] {
    background: #173f43;
    color: #fff;
  }

  body[data-page="home"] .role-panel {
    position: relative;
    min-height: 335px;
    margin-top: 16px;
    padding: 56px 24px 24px;
    border: 1px solid #c9dcd4;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 22px 50px -42px #173f43aa;
  }

  body[data-page="home"] .role-panel-number {
    position: absolute;
    top: 22px;
    right: 24px;
    color: #7da39d;
    font-size: 12px;
    letter-spacing: .12em;
  }

  body[data-page="home"] .role-panel h3 {
    max-width: 10em;
    margin: 0 0 14px;
    font-size: 29px;
    line-height: 1.07;
  }

  body[data-page="home"] .role-panel p {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
  }

  body[data-page="home"] .role-panel ul {
    display: grid;
    gap: 10px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
  }

  body[data-page="home"] .role-panel li {
    position: relative;
    padding-left: 21px;
    color: #385e5c;
    font-size: 13px;
    line-height: 1.5;
  }

  body[data-page="home"] .role-panel li::before {
    content: "";
    position: absolute;
    top: .62em;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #83ca56, #08afe0);
  }

  /* ROL — a concise product preview; the full dialog is divided into chapters. */
  body[data-page="home"] .rol-section {
    padding-block: 72px;
    background: #fff;
  }

  body[data-page="home"] #rol .has-mobile-preview {
    display: none;
  }

  body[data-page="home"] .mobile-dashboard-preview {
    display: block;
    width: 100%;
    padding: 16px;
    text-align: left;
    border: 1px solid #cdded7;
    border-radius: 24px;
    background: linear-gradient(145deg, #f7faf8, #edf6f3);
    box-shadow: 0 26px 56px -44px #113e43aa;
  }

  body[data-page="home"] .mobile-dashboard-preview::before {
    content: "ROL / IL CONTROLLO IN UN UNICO QUADRO";
    display: block;
    margin: 2px 2px 14px;
    color: #53736f;
    font-size: 9px;
    letter-spacing: .12em;
  }

  body[data-page="home"] .mobile-dashboard-preview .dashboard-mini {
    overflow: hidden;
    border: 1px solid #d2dfda;
    border-radius: 17px;
    background: #fff;
  }

  body[data-page="home"] .mobile-dashboard-preview .mini-top {
    padding: 15px 16px;
  }

  body[data-page="home"] .mobile-dashboard-preview .mini-performance {
    padding: 18px 16px;
  }

  body[data-page="home"] .mobile-dashboard-preview .mini-performance strong {
    font-size: 42px;
  }

  body[data-page="home"] .mobile-dashboard-preview .mini-readings {
    grid-template-columns: repeat(3, 1fr);
  }

  body[data-page="home"] .mobile-dashboard-preview .mini-readings > div {
    min-width: 0;
    padding: 14px 9px;
  }

  body[data-page="home"] .mobile-dashboard-preview .mini-readings span {
    font-size: 8px;
  }

  body[data-page="home"] .mobile-dashboard-preview .mini-readings strong {
    font-size: 20px;
  }

  body[data-page="home"] .mobile-dashboard-open {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
    margin-top: 14px;
    padding: 13px 16px;
    border-radius: 13px;
    background: #173f43;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
  }

  .dashboard-dialog {
    width: calc(100vw - 16px);
    max-width: calc(100vw - 16px);
    max-height: calc(100dvh - 16px);
    border-radius: 24px;
  }

  .dashboard-dialog .dialog-body {
    max-height: calc(100dvh - 24px);
    overflow: auto;
  }

  .dashboard-dialog .dialog-close {
    z-index: 30;
  }

  .dashboard-dialog .dashboard-ui {
    border: 0;
    border-radius: 20px;
  }

  .dashboard-dialog .dashboard-ui-header {
    position: sticky;
    top: 0;
    z-index: 6;
    padding: 18px 52px 18px 17px;
  }

  .dashboard-dialog .dashboard-mobile-tabs {
    position: sticky;
    top: 70px;
    z-index: 5;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    padding: 8px;
    border-bottom: 1px solid #d4dfda;
    background: #eef4f1f7;
    backdrop-filter: blur(12px);
  }

  .dashboard-dialog .dashboard-mobile-tabs button {
    min-width: 0;
    min-height: 42px;
    padding: 8px 4px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #5b7675;
    font-size: 11px;
  }

  .dashboard-dialog .dashboard-mobile-tabs button[aria-selected="true"] {
    background: #173f43;
    color: #fff;
  }

  .dashboard-dialog .dashboard-ui-body {
    display: block;
    padding: 14px;
  }

  .dashboard-dialog .dashboard-chapter[hidden] {
    display: none !important;
  }

  .dashboard-dialog .dashboard-chapter {
    min-height: 0;
    animation: wm-chapter-in .34s ease both;
  }

  .dashboard-dialog .dashboard-summary {
    display: grid;
    gap: 12px;
  }

  .dashboard-dialog .performance-content {
    gap: 13px;
  }

  .dashboard-dialog .performance-ring {
    width: 112px;
    height: 112px;
  }

  .dashboard-dialog .readings-values,
  .dashboard-dialog .kpi-concepts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-dialog .reading-value,
  .dashboard-dialog .kpi-concept {
    min-width: 0;
  }

  .dashboard-dialog .reading-value strong,
  .dashboard-dialog .kpi-concept > strong {
    font-size: 28px;
  }

  .dashboard-dialog .mcm-concept {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    margin-top: 14px;
    padding: 18px;
    border-radius: 16px;
  }

  .dashboard-dialog .mcm-help {
    grid-column: 1 / -1;
    min-height: 48px;
  }

  /* MCM becomes a dedicated bottom sheet, with the existing cube asset as the anchor. */
  .mcm-dialog {
    width: calc(100vw - 16px);
    max-width: calc(100vw - 16px);
    max-height: calc(100dvh - 18px);
    margin: auto auto 8px;
    border-radius: 26px 26px 18px 18px;
  }

  .mcm-dialog .mcm-explanation {
    max-height: calc(100dvh - 40px);
    padding: 24px 20px 28px;
    overflow: auto;
  }

  .mcm-cube-art {
    display: block;
    width: 126px;
    height: 126px;
    margin: -8px auto 4px;
    object-fit: contain;
    filter: drop-shadow(0 22px 20px #071f2638);
  }

  .mcm-dialog h2 {
    font-size: 31px;
    line-height: 1.05;
  }

  .mcm-dialog .mcm-points {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .mcm-dialog .mcm-points > div {
    padding: 18px;
    border: 1px solid #ffffff2b;
    border-radius: 16px;
    background: #ffffff0a;
  }

  /* IPB — one dark instrument, centred on the three-day progression. */
  body[data-page="home"] .ipb-section {
    padding-block: 82px;
  }

  body[data-page="home"] .ipb-layout {
    gap: 28px;
  }

  body[data-page="home"] .ipb-section .ipb-copy .ipb-lead h2 {
    font-size: clamp(35px, 9.5vw, 41px);
    line-height: 1.04;
  }

  body[data-page="home"] .ipb-copy .ipb-lead p {
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.65;
  }

  body[data-page="home"] .ipb-explanation {
    margin-top: 20px;
  }

  body[data-page="home"] .ipb-demo {
    padding: 24px 20px 20px;
    border: 1px solid #73908d;
    border-radius: 22px;
    background: linear-gradient(155deg, #ffffff0c, #ffffff04);
  }

  body[data-page="home"] .ipb-demo-caption {
    margin-bottom: 22px;
    font-size: 8px;
  }

  body[data-page="home"] .ipb-readout {
    align-items: flex-start;
  }

  body[data-page="home"] .ipb-day-count {
    font-size: 50px;
  }

  body[data-page="home"] .ipb-symbol {
    width: 58px;
    height: 58px;
    font-size: 15px;
  }

  body[data-page="home"] .ipb-segments {
    gap: 7px;
    margin-top: 24px;
  }

  body[data-page="home"] .ipb-segments > div {
    min-width: 0;
  }

  body[data-page="home"] .ipb-segments span {
    font-size: 7px;
  }

  body[data-page="home"] .ipb-state {
    align-items: flex-start;
    gap: 13px;
    min-height: 118px;
    margin-top: 22px;
    padding: 18px 0;
    border-top: 1px solid #ffffff24;
    border-bottom: 1px solid #ffffff24;
  }

  body[data-page="home"] .ipb-state-text {
    font-size: 13px;
    line-height: 1.55;
  }

  body[data-page="home"] .ipb-controls .button {
    width: 100%;
    min-height: 52px;
    justify-content: space-between;
  }

  /* Box-Lab — title, product, description, then service control. */
  body[data-page="home"] .box-section {
    padding-block: 76px 84px;
    background: linear-gradient(180deg, #eaf6ee, #f4faf6);
  }

  body[data-page="home"] .box-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  body[data-page="home"] .box-copy {
    display: contents;
  }

  body[data-page="home"] .box-copy > .eyebrow { order: 1; margin: 0; }
  body[data-page="home"] .box-copy > h2 { order: 2; margin: -17px 0 0; }
  body[data-page="home"] .box-art { order: 3; }
  body[data-page="home"] .box-copy > p:not(.eyebrow) { order: 4; }
  body[data-page="home"] .box-service-frame { order: 5; }

  body[data-page="home"] .box-art {
    min-height: 300px;
    border: 1px solid #cbe1d7;
    border-radius: 28px;
    overflow: hidden;
    background: radial-gradient(circle at 52% 46%, #d0f3ea 0%, #eaf6ee 55%, #e3f0e8 100%);
  }

  body[data-page="home"] .box-art img,
  body[data-page="home"] .box-art:hover img {
    width: 112%;
    max-width: none;
    margin-left: -6%;
    transform: translateY(5px) !important;
    filter: drop-shadow(0 24px 22px #123c4238);
  }

  body[data-page="home"] .box-orbit.one {
    width: 245px;
    height: 245px;
  }

  body[data-page="home"] .box-orbit.two {
    width: 320px;
    height: 320px;
  }

  body[data-page="home"] .box-copy h2 {
    font-size: clamp(36px, 9.7vw, 42px);
    line-height: 1.02;
  }

  body[data-page="home"] .box-copy > p:not(.eyebrow) {
    margin: -6px 0 0;
    font-size: 15px;
    line-height: 1.65;
  }

  body[data-page="home"] .box-service-frame {
    margin-top: -4px;
    padding: 7px;
    border: 1px solid #c9ddd4;
    border-radius: 20px;
    background: #ffffffc7;
  }

  body[data-page="home"] .box-process {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    padding: 0;
  }

  body[data-page="home"] .box-process > button {
    min-width: 0;
    min-height: 55px;
    padding: 8px 3px;
    border: 0;
    border-radius: 13px;
    font-size: 9px;
    line-height: 1.25;
  }

  body[data-page="home"] .box-process > button span {
    display: block;
    margin-bottom: 4px;
    font-size: 8px;
  }

  body[data-page="home"] .box-process > button.is-active {
    border: 0;
    background: #173f43;
    color: #fff;
  }

  body[data-page="home"] .box-step-detail {
    min-height: 8.2em;
    margin: 7px 0 0;
    padding: 18px 14px 14px;
    border-top: 1px solid var(--wm-mobile-line);
    font-size: 14px;
    line-height: 1.62;
  }

  /* Structure selector — horizontal and tactile. */
  body[data-page="home"] .sectors-section {
    padding-block: 78px;
  }

  body[data-page="home"] .sectors-section .section-heading {
    display: block;
    margin: 17px 0 28px;
  }

  body[data-page="home"] .sectors-section .section-heading h2 {
    font-size: clamp(36px, 9.7vw, 42px);
    line-height: 1.02;
  }

  body[data-page="home"] .sectors-section .section-heading > p {
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.6;
  }

  body[data-page="home"] .sectors-layout {
    display: block;
  }

  body[data-page="home"] .sector-tabs {
    display: flex;
    width: calc(100% + (var(--wm-mobile-gutter) * 2));
    margin-left: calc(var(--wm-mobile-gutter) * -1);
    padding: 0 var(--wm-mobile-gutter) 15px;
    gap: 8px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  body[data-page="home"] .sector-tabs > button,
  body[data-page="home"] .sector-tabs > button[aria-selected="true"] {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 11px 14px;
    border: 1px solid #d0ddd8;
    border-radius: 999px;
    background: #fff;
    font-size: 12px;
    white-space: nowrap;
    scroll-snap-align: start;
  }

  body[data-page="home"] .sector-tabs > button span {
    margin-right: 7px;
  }

  body[data-page="home"] .sector-tabs > button[aria-selected="true"] {
    border-color: #173f43;
    background: #173f43;
    color: #fff;
  }

  body[data-page="home"] .sector-tabs > button[aria-selected="true"] > span {
    color: #a9d8d2;
  }

  body[data-page="home"] .sector-mobile-arrows {
    position: absolute;
    top: 16px;
    left: 0;
    right: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    pointer-events: none;
  }

  body[data-page="home"] .sector-mobile-arrow {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid #ffffff7a;
    border-radius: 999px;
    background: #07394169;
    color: #fff;
    line-height: 1;
    box-shadow: 0 10px 24px -18px #041d22cc;
    backdrop-filter: blur(7px);
    pointer-events: auto;
  }

  body[data-page="home"] .sector-mobile-arrow:active {
    background: #0739418f;
  }

  body[data-page="home"] .sector-mobile-arrow svg {
    display: block;
    width: 17px;
    height: 17px;
  }

  body[data-page="home"] .sector-panel {
    position: relative;
    min-height: 540px;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 26px 56px -44px #082f36cc;
    touch-action: pan-y;
  }

  body[data-page="home"] .sector-panel-content {
    padding: 28px 23px;
  }

  body[data-page="home"] .sector-panel h3 {
    font-size: 31px;
    line-height: 1.06;
  }

  body[data-page="home"] .sector-panel p {
    font-size: 14px;
    line-height: 1.58;
  }

  /* Reviews — one strong vertical video, with the next one peeking in. */
  body[data-page="home"] .testimonials-section {
    padding-block: 76px;
    background: #edf4f1;
  }

  body[data-page="home"] .testimonials-section .section-heading {
    display: block;
    margin-bottom: 28px;
  }

  body[data-page="home"] .testimonials-section h2 {
    margin-top: 16px;
    font-size: clamp(35px, 9.5vw, 42px);
    line-height: 1.03;
  }

  body[data-page="home"] .testimonials-section .section-heading > p {
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.55;
  }

  body[data-page="home"] .reviews-grid {
    display: flex;
    width: calc(100% + (var(--wm-mobile-gutter) * 2));
    margin-left: calc(var(--wm-mobile-gutter) * -1);
    padding: 0 var(--wm-mobile-gutter) 18px;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--wm-mobile-gutter);
    scrollbar-width: none;
  }

  body[data-page="home"] .review-card {
    position: relative;
    display: block;
    flex: 0 0 min(64vw, 260px);
    padding: 0;
    border: 0;
    border-radius: 24px;
    overflow: hidden;
    background: #0a3137;
    scroll-snap-align: center;
    box-shadow: 0 24px 52px -38px #082f36d9;
  }

  body[data-page="home"] .review-card::after {
    content: "";
    position: absolute;
    inset: 40% 0 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg, transparent, #062a31ed 90%);
  }

  body[data-page="home"] .review-video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    border-radius: 0;
  }

  body[data-page="home"] .review-video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  body[data-page="home"] .review-video .play-circle {
    width: 54px;
    height: 54px;
    font-size: 15px;
    background: #fff;
    color: #173f43;
  }

  body[data-page="home"] .review-caption {
    display: flex;
    top: 16px;
    right: 16px;
    bottom: auto;
    padding: 7px 10px;
    border: 1px solid #ffffff80;
    border-radius: 999px;
    background: #092e35a8;
    color: #fff;
    font-size: 9px;
    backdrop-filter: blur(8px);
  }

  body[data-page="home"] .review-name {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 22px;
    pointer-events: none;
  }

  body[data-page="home"] .review-kind {
    color: #9fd6ce;
    font-size: 8px;
  }

  body[data-page="home"] .review-name h3 {
    margin: 7px 0 3px;
    color: #fff !important;
    font-size: 21px;
  }

  body[data-page="home"] .review-name { padding: 16px; }

  body[data-page="home"] .mobile-contact-pause {
    position: relative;
    display: grid;
    gap: 15px;
    margin: 0;
    padding: 27px var(--wm-mobile-gutter) 30px;
    overflow: hidden;
    background: radial-gradient(circle at 100% 0%, #5bd0c455, transparent 55%),
      linear-gradient(135deg, #eaf7ed 0%, #e5f7f5 52%, #e6f5fa 100%);
    border-block: 1px solid #cbe8df;
  }

  body[data-page="home"] .mobile-contact-pause .mobile-contact-kicker {
    margin: 0;
    color: #347e79;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
  }

  body[data-page="home"] .mobile-contact-pause h2 {
    max-width: 15em;
    margin: 0;
    color: #123f43;
    font-size: clamp(23px, 6.3vw, 28px);
    font-weight: 600;
    line-height: 1.13;
    letter-spacing: -.045em;
  }

  body[data-page="home"] .mobile-contact-pause a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 54px;
    padding: 0 18px;
    border-radius: 15px;
    background: linear-gradient(105deg, #58b65b, #2dbca9 53%, #08a8cc);
    color: #fff;
    box-shadow: 0 13px 25px -15px #068d9c99;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
  }

  body[data-page="home"] .mobile-contact-pause a svg {
    flex: none;
    width: 20px;
    height: 20px;
  }

  body[data-page="home"] .review-name > span:last-child {
    color: #d8e8e5;
    font-size: 13px;
  }

  body[data-page="home"] .mobile-rail-progress {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 8px;
  }

  body[data-page="home"] .mobile-rail-progress i {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #b7cbc5;
    transition: width .28s ease, background .28s ease;
  }

  body[data-page="home"] .mobile-rail-progress i.is-active {
    width: 22px;
    background: #173f43;
  }

  /* Closing rhythm */
  body[data-page="home"] .starting-section {
    padding-block: 76px;
    background: #fff;
  }

  body[data-page="home"] .starting-layout {
    display: block;
  }

  body[data-page="home"] .starting-layout h2 {
    margin-top: 16px;
    font-size: clamp(34px, 9.3vw, 40px);
  }

  body[data-page="home"] .starting-layout > div > p:not(.eyebrow) {
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.62;
  }

  body[data-page="home"] .starting-layout > .faq-list {
    margin-top: 30px;
    border-top: 1px solid var(--wm-mobile-line);
  }

  body[data-page="home"] .starting-section summary {
    min-height: 68px;
    font-size: 16px;
    line-height: 1.35;
  }

  body[data-page="home"] .contact-teaser {
    padding-block: 76px;
    overflow: hidden;
    background:
      radial-gradient(circle at 90% 10%, #19b9d633 0%, transparent 38%),
      radial-gradient(circle at 10% 100%, #75c85f26 0%, transparent 42%),
      #0b343b;
    color: #fff;
  }

  body[data-page="home"] .contact-teaser .container {
    display: block;
  }

  body[data-page="home"] .contact-teaser .eyebrow {
    color: #a8d7d0;
  }

  body[data-page="home"] .contact-teaser h2 {
    margin-top: 17px;
    color: #fff !important;
    font-size: clamp(36px, 9.7vw, 43px);
    line-height: 1.02;
  }

  body[data-page="home"] .contact-teaser p {
    margin-top: 18px;
    color: #d0e3e0;
    font-size: 15px;
    line-height: 1.62;
  }

  body[data-page="home"] .contact-teaser .button {
    width: 100%;
    min-height: 54px;
    margin-top: 30px;
    justify-content: space-between;
    background: #fff;
    color: #123f43;
  }

  body[data-page="home"] .footer {
    padding-block: 28px 18px;
  }

  body[data-page="home"] .footer-top {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 18px;
    padding-bottom: 18px;
  }

  body[data-page="home"] .footer-top > div {
    min-width: 0;
    padding: 0;
    border: 0;
  }

  body[data-page="home"] .footer-top > div:first-child {
    grid-column: 1 / -1;
    gap: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--wm-mobile-line);
  }

  body[data-page="home"] .footer-top > div:last-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 14px;
    padding-top: 8px;
    border-top: 1px solid var(--wm-mobile-line);
  }

  body[data-page="home"] .footer-top > div:last-child .eyebrow { grid-column: 1 / -1; }

  body[data-page="home"] .footer-top .eyebrow { margin: 0 0 10px; }

  body[data-page="home"] .footer-top > div > a:not(.footer-brand) {
    margin-bottom: 7px;
    overflow-wrap: anywhere;
  }

  body[data-page="home"] .footer-top p:not(.eyebrow) { margin-bottom: 7px; }

  body[data-page="home"] .footer-brand img {
    width: 80px;
    height: auto;
  }

  body[data-page="home"] .footer a,
  body[data-page="home"] .footer p {
    font-size: 13px;
    line-height: 1.75;
  }

  body[data-page="home"] .footer-bottom {
    display: block;
    padding-top: 14px;
    font-size: 11px;
  }

  body[data-page="home"] .footer-bottom > div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-top: 14px;
  }

  /* Fixed tools: WhatsApp on the left, Iubenda keeps the right side. */
  body[data-page="home"] .waterman-whatsapp {
    left: 16px;
    right: auto;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    width: 54px;
    height: 54px;
    padding: 0;
    border-radius: 50%;
    display: grid !important;
    place-items: center !important;
    gap: 0 !important;
    line-height: 0 !important;
    box-sizing: border-box;
  }

  body[data-page="home"] .waterman-whatsapp svg {
    display: block;
    width: 27px;
    height: 27px;
    margin: 0 !important;
    transform: none !important;
  }

  body[data-page="home"] .waterman-whatsapp span {
    display: none;
  }

  body.dialog-open .waterman-whatsapp {
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
  }

  /* Purposeful, section-specific motion. */
  body[data-page="home"].wm-mobile-ready .hero-float {
    animation: wm-dock-in .72s .12s cubic-bezier(.22, .61, .36, 1) both;
  }

  body[data-page="home"] [data-wm-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .65s ease, transform .65s cubic-bezier(.22, .61, .36, 1);
  }

  body[data-page="home"] [data-wm-reveal].wm-in-view {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 420px) and (max-width: 760px) {
  :root {
    --gutter: 16px;
    --wm-mobile-gutter: 16px;
  }
}

@media (max-width: 382px) {
  body[data-page="home"] .brand > span {
    display: none;
  }

  body[data-page="home"] .hero h1 {
    font-size: 43px;
  }

  body[data-page="home"] .history-stat > strong {
    font-size: 64px;
  }

  body[data-page="home"] .role-tabs button {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="home"].wm-mobile-ready .hero-float,
  body[data-page="home"] [data-wm-reveal],
  body[data-page="home"] .dashboard-chapter,
  body[data-page="home"] .mobile-rail-progress i,
  body[data-page="home"] .story-tabs button::before {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

@keyframes wm-dock-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@keyframes wm-chapter-in {
  from { opacity: .35; transform: translateX(12px); }
  to { opacity: 1; transform: none; }
}
