/* Motion Level revision: 4793:5268 and 4805:20325 / 20726 / 21226. */
.motion-v2 {background:var(--background-deep);--rml-header-height:70px;font-size:var(--body-l-font-size);line-height:var(--body-l-line-height);}
.motion-v2 h2 {font-size:var(--text-title-l);line-height:var(--lh-title-l);}
.motion-v2 h3 {font-size:var(--text-title-m);line-height:var(--lh-title-m);}
.motion-v2 .rml-header {height:70px;padding:var(--space-s) var(--rml-margin);}
.motion-v2 .rml-logo {flex:0 0 59px;display:block;height:52px;}
.motion-v2 .rml-logo img {width:auto;height:auto;max-width:none;}
.motion-v2 .rml-nav {gap:var(--space-huge);}
.motion-v2 .rml-nav a {font:700 var(--text-btn-s)/var(--lh-btn-s) var(--font-body);text-decoration:none;}
.motion-v2 :is(.rml-nav a,.rml-menu nav a):hover {color:var(--interactive-primary-hover);}
.motion-v2 .rml-header-language {flex-basis:120px;}
.motion-v2 .rml-header-language .language-toggle {width:120px;height:28px;}
.motion-v2 .rml-header-language .language-toggle__option {height:26px;}
.motion-v2 .rml-hero,.motion-v2 .rml-contact {border:0;}
.motion-v2 .rml-headline {gap:var(--space-xl);}
.motion-v2 .rml-meta {gap:var(--space-ss);align-self:stretch;justify-content:center;}
.motion-v2 .rml-meta-row {min-height:20px;}
.motion-v2 .rml-profile-icon,.motion-v2 .rml-calendar-icon {width:20px;height:20px;}
.motion-v2 .rml-profile-icon img {width:auto;height:auto;left:3px;top:3px;}
.motion-v2 .rml-summary {grid-template-columns:1fr 1fr;}
.motion-v2 .rml-hero-image {border:0;}
.motion-v2 .rml-footer small {font-weight:300;}
@media (min-width:768px) and (max-width:1279px) {
  .motion-v2 {font-size:var(--body-m-font-size);line-height:var(--body-m-line-height);}
  .motion-v2 h2 {font-size:var(--text-title-m);line-height:var(--lh-title-m);}
  .motion-v2 h3 {font-size:var(--text-title-s);line-height:var(--lh-title-s);}
  .motion-v2 .rml-hero-image {border:1px solid var(--stroke-primary);}
}
@media (max-width:999px) {
  .motion-v2 .rml-header {height:70px;padding:var(--space-s) var(--rml-margin);}
  .motion-v2 .rml-headline {gap:var(--space-m);}
  .motion-v2 .rml-menu-button {width:28px;height:28px;padding:0;}
  .motion-v2 .rml-bar {left:4px;}
  .motion-v2 .rml-bar-high {top:5px;}
  .motion-v2 .rml-bar-middle {top:12.29px;}
  .motion-v2 .rml-bar-low {top:19.57px;}
  .motion-v2 .rml-details {gap:10px;}
  body.motion-v2 > .rml-internal-menu:not([hidden]) {inset:70px 0 0;height:calc(100dvh - 70px);padding:24px 0 0;justify-content:flex-start;}
  body.motion-v2 > .rml-internal-menu > nav {padding:0;margin:0;gap:0;}
  body.motion-v2 > .rml-internal-menu > nav > a {padding:16px 24px;}
  body.motion-v2 .rml-internal-menu__actions {margin-top:auto;padding:24px 24px 0;}
  body.motion-v2 .rml-internal-menu__footer {margin:16px 0 0;padding:10px 20px;gap:10px;min-height:58.5px;}
  body.motion-v2 .rml-internal-menu__footer small,
  body.motion-v2 .rml-internal-menu__footer .rml-credit {font:400 var(--text-cap-s)/var(--lh-cap-s) var(--font-body);color:var(--text-secondary);}
  body.motion-v2 .rml-internal-menu__footer img {width:auto;height:auto;}
}
@media (max-width:767px) {
  .motion-v2 {font-size:var(--body-s-font-size);line-height:var(--body-s-line-height);}
  .motion-v2 h2 {font-size:var(--text-title-s);line-height:var(--lh-title-s);}
  .motion-v2 h3 {font-size:var(--text-title-xs);line-height:var(--lh-title-xs);}
  .motion-v2 .rml-summary {grid-template-columns:1fr;}
  .motion-v2 .rml-hero-image {border:1px solid var(--stroke-primary);}
  .motion-v2 .rml-footer {align-items:flex-start;padding-inline:20px;}
  .motion-v2 .rml-footer small {font:400 var(--text-cap-s)/var(--lh-cap-s) var(--font-body);}
}

.motion-v2 .v2-contact-bar { display:flex; flex-wrap:nowrap; align-items:center; width:max-content; max-width:100%; height:60px; gap:0; border:1px solid var(--stroke-secondary); border-radius:var(--radius-s); overflow:hidden; background:var(--background-deep); }
.motion-v2 .v2-contact-link { display:flex; flex:none; align-items:center; gap:8px; position:relative; height:100%; padding:0 16px; font:700 16px/19px var(--font-body); color:var(--text-primary); text-decoration:none; }
.motion-v2 .v2-contact-link + .v2-contact-link { border-left:1px solid var(--stroke-secondary); }
.motion-v2 .v2-contact-link picture { display:flex; flex:none; align-items:center; justify-content:center; width:28px; height:28px; }
.motion-v2 .v2-contact-link img { display:block; max-width:none; margin:0; }
.motion-v2 .v2-contact-label { position:relative; }
.motion-v2 .v2-contact-label::after { content:''; position:absolute; left:0; right:0; bottom:-2px; height:1px; background:var(--text-accent-primary); transform:scaleX(0); transform-origin:left; transition:transform 500ms var(--easing-enter); }
.motion-v2 .v2-contact-link:hover .v2-contact-label::after,.motion-v2 .v2-contact-link:focus-visible .v2-contact-label::after { transform:scaleX(1); }
.motion-v2 .v2-contact-link:hover img,.motion-v2 .v2-contact-link:focus-visible img { opacity:0; }
.motion-v2 .v2-contact-link picture { position:relative; }
.motion-v2 .v2-contact-link picture::after { content:''; position:absolute; inset:0; background:var(--text-accent-primary); mask:var(--contact-icon) center / contain no-repeat; opacity:0; transition:opacity 500ms linear; }
.motion-v2 .v2-contact-link--email { --contact-icon:url('../assets/Home/v2/email-idle.svg'); }
.motion-v2 .v2-contact-link--linkedin { --contact-icon:url('../assets/Home/v2/linkedin-idle.svg'); }
.motion-v2 .v2-contact-link--whatsapp { --contact-icon:url('../assets/Home/v2/whatsapp.svg'); }
.motion-v2 .v2-contact-link--call { --contact-icon:url('../assets/Home/v2/call.svg'); }
.motion-v2 .v2-contact-link:hover picture::after,.motion-v2 .v2-contact-link:focus-visible picture::after { opacity:1; }
.motion-v2 .v2-contact-link:focus-visible { outline:2px solid var(--text-accent-primary); outline-offset:-3px; }

.motion-v2 .v2-contact-bar {margin-top:32px;}
@media (min-width:768px) and (max-width:1279px) {
 .motion-v2 .v2-contact-link {font-size:var(--text-btn-s);line-height:var(--lh-btn-s);padding-inline:12px;}
 .motion-v2 .v2-contact-link picture {width:20px;height:20px;}

}
@media (max-width:999px) {
 .motion-v2 .v2-contact-bar {flex-direction:column;align-items:flex-start;height:auto;gap:24px;border:0;overflow:visible;}
 .motion-v2 .v2-contact-link {height:20px;padding:0;border:0;font-size:var(--text-btn-s);line-height:var(--lh-btn-s);}
 .motion-v2 .v2-contact-link + .v2-contact-link {border:0;}
 .motion-v2 .v2-contact-link picture {width:20px;height:20px;}
}

@media (min-width:1000px) and (max-width:1279px) { .motion-v2 .rml-footer small {font:400 var(--text-cap-m)/var(--lh-cap-m) var(--font-body);} }
/* Override the legacy drawer footer's more specific caption rule. */
@media (max-width:999px) {
 body.motion-v2 > .rml-internal-menu:not([hidden]) {padding-top:31px;}
 body.motion-v2 .rml-menu .rml-internal-menu__footer small,
 body.motion-v2 .rml-menu .rml-internal-menu__footer .rml-credit {font:400 var(--text-cap-s)/var(--lh-cap-s) var(--font-body);color:var(--text-secondary);}
}

/* Motion header uses 80px desktop and 64px tablet navigation gaps. */
@media (min-width:1000px) and (max-width:1279px) { .motion-v2 .rml-nav {gap:var(--space-xxl);} }
.motion-v2 :is(.rml-nav,.rml-menu nav) a::after {content:none;display:none;}

/* Motion-specific typography and media geometry from the updated frames. */
.motion-v2 h3 {font-size:var(--text-title-xs);line-height:var(--lh-title-xs);}
.motion-v2 .rml-meta {flex:0 0 auto;max-width:45%;}
.motion-v2 .rml-headline h1 {flex:1;min-width:0;}
.motion-v2 .rml-nav a:is(:hover,:focus-visible) {text-decoration:none;color:var(--interactive-primary-hover);}
.motion-v2 .motion-hero-media {background:var(--surface-inverse);border-color:var(--text-primary);}
.motion-v2 .motion-internal-gallery {min-height:560px;align-items:center;}
.motion-v2 .motion-internal-gallery figure {padding-block:0;justify-content:center;}
.motion-v2 .motion-internal-gallery video {width:189px;height:420px;object-fit:contain;}
.motion-v2 .motion-internal-gallery figure:nth-child(3) video {width:187px;}
.motion-v2 .motion-expressivity-gallery {height:480px;}
.motion-v2 .motion-expressivity-gallery figcaption {width:187px;}
.motion-v2 .motion-expressivity-gallery video {width:187px;height:420px;object-fit:contain;}
.motion-v2 .motion-expressivity-gallery figure:nth-child(2) video {width:186px;height:418.15px;}
@media (min-width:1000px) and (max-width:1279px) {
 .motion-v2 .rml-headline {gap:var(--space-m);}
 .motion-v2 .motion-hero-media {border:0;}
}
@media (max-width:767px) {
 .motion-v2 .rml-meta {flex:auto;max-width:none;}
 .motion-v2 .motion-internal-gallery {min-height:0;}
 .motion-v2 .motion-internal-gallery figure {padding-block:24px;}
 .motion-v2 .motion-internal-gallery figure:nth-child(3) video {width:186px;height:418.196px;}
 .motion-v2 .motion-expressivity-gallery {height:auto;grid-template-columns:1fr;padding-block:24px;gap:49px;}
 .motion-v2 .motion-expressivity-gallery figure {padding:0;}
 .motion-v2 .motion-expressivity-gallery figure:nth-child(2) video {width:187px;height:420px;}
 .motion-v2 .motion-expressivity-gallery figure+figure::before {width:100%;height:1px;left:0;top:-25px;transform:none;background:var(--stroke-secondary);}
 .motion-v2 .motion-axis-descriptions {font-size:var(--body-m-font-size);line-height:var(--body-m-line-height);}
}
@media (max-width:767px) {
 .motion-v2 .motion-hero-videos video {flex:1;min-width:0;max-width:none;width:0;}
 .motion-v2 .rml-footer .rml-credit img {width:auto;height:auto;}
}
/* Collective criteria: full-width sequence in desktop and both tablet frames. */
@media (min-width:768px) {
 .motion-v2 .motion-level-grid {grid-template-columns:1fr;gap:var(--space-m);margin-top:var(--space-m);}
 .motion-v2 .motion-level-grid > div:first-child {display:contents;}
 .motion-v2 .motion-expressivity-gallery {margin-top:0;}
 .motion-v2 .motion-expressivity-gallery figure+figure::before {left:0;top:50%;width:1px;height:480px;transform:translateY(-50%);background:url('../assets/Motion%20DS/v2/collective-center-divider.svg') center no-repeat;}
}
@media (min-width:768px) and (max-width:1279px) {
 .motion-v2 .motion-expressivity-gallery figure:nth-child(2) video {width:187px;height:420px;}
}
@media (min-width:1280px) {
 .motion-v2 :is(.motion-expressivity-copy,.motion-frequency) h3 {margin-bottom:var(--space-ss);}
 .motion-v2 .motion-frequency .rml-copy p+p {position:relative;margin-top:6px;padding-left:27px;}
 .motion-v2 .motion-frequency .rml-copy p:nth-child(2) {margin-top:12px;}
 .motion-v2 .motion-frequency .rml-copy p+p::before {content:'•';position:absolute;left:8px;}
}
