/* The original screenshots sit on a quiet shared surface without device frames. */
.emas-product-stage { margin: 56px 0 0; }
.emas-product-pair { display: grid; grid-template-columns: minmax(0, 3.84fr) minmax(0, 1fr); align-items: start; gap: 26px; }
.emas-product-view { min-width: 0; }
.emas-product-label { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 5px 12px; min-height: 18px; margin-bottom: 14px; color: #647985; font-size: 11px; }
.emas-product-label strong { color: #274b5b; font-weight: 600; }
.emas-product-label > span { font-size: 10px; }
.emas-product-screen { display: block; width: 100%; padding: 0; overflow: hidden; border: 1px solid #ccdee5; border-radius: 12px; background: #fff; box-shadow: 0 18px 36px -18px #274b5b38; cursor: zoom-in; transition: box-shadow .2s ease, border-color .2s ease; }
.emas-product-screen:hover { border-color: #75b4ca; box-shadow: 0 20px 38px -16px #274b5b50; }
.emas-product-screen img { display: block; width: 100%; height: auto; }
.emas-product-expand { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; margin-top: 5px; padding: 8px 0; border: 0; color: #24677a; background: transparent; font: inherit; font-size: 11px; cursor: pointer; }
.emas-product-expand svg { width: 14px; height: 14px; }
.emas-product-expand:hover { text-decoration: underline; text-underline-offset: 4px; }
.emas-product-screen:focus-visible, .emas-product-expand:focus-visible, .emas-preview-close:focus-visible { outline: 2px solid #24677a; outline-offset: 5px; }
.emas-product-caption { display: flex; margin-top: 20px; color: #6c838e; font-size: 10px; letter-spacing: .04em; }
.emas-product-caption > span { display: inline-flex; align-items: center; gap: 8px; }
.emas-product-caption i { width: 5px; height: 5px; border-radius: 50%; background: #75b4ca; }

/* A native modal traps focus, supports Escape, and restores focus when closed. */
html.emas-preview-open { overflow: hidden; }
.emas-preview-modal { position: fixed; inset: 0; box-sizing: border-box; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 48px 20px 20px; overflow: hidden; overscroll-behavior: contain; border: 0; border-radius: 0; background: transparent; }
.emas-preview-modal[open] { display: grid; place-items: center; }
.emas-preview-modal::backdrop { background: #112f43b3; backdrop-filter: blur(7px); }
.emas-preview-modal[open]::backdrop { animation: emas-preview-backdrop .2s ease-out; }
.emas-preview-modal-title { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.emas-preview-close { position: absolute; top: 4px; right: 12px; display: grid; place-items: center; width: 44px; height: 44px; padding: 10px; border: 0; border-radius: 50%; color: #fff; background: transparent; cursor: pointer; }
.emas-preview-close:hover { background: #ffffff1a; }
.emas-preview-close:focus-visible { outline-color: #fff; outline-offset: 0; }
.emas-preview-close svg { width: 24px; height: 24px; }
.emas-preview-modal-image { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-width: 0; min-height: 0; }
.emas-preview-modal-image img { display: block; width: auto; height: auto; max-width: 100%; max-height: calc(100dvh - 68px); object-fit: contain; }
.emas-preview-modal[open] .emas-preview-modal-image img { animation: emas-preview-appear .24s cubic-bezier(.16, 1, .3, 1); }
@keyframes emas-preview-appear { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes emas-preview-backdrop { from { opacity: 0; } to { opacity: 1; } }

/* A personal point of contact, with the original portrait. */
.emas-contact-person { display: grid; grid-template-columns: 178px minmax(0, 1fr); align-items: center; gap: 22px; width: 100%; max-width: 500px; padding: 24px; justify-self: end; border: 1px solid #c8e1e7; border-radius: 14px; background: #fffffff0; box-shadow: 0 16px 40px #274b5b14; }
.emas-contact-portrait { aspect-ratio: 1 / 1; overflow: hidden; border-radius: 8px; background: #dbeaf1; }
.emas-contact-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.emas-contact-details { min-width: 0; }
.emas-contact-details > span { display: block; color: #24677a; font-size: 9px; font-weight: 650; letter-spacing: .11em; text-transform: uppercase; }
.emas-contact-details .emas-person-name { margin: 10px 0 0; color: #203844; font-size: 24px; font-weight: 550; line-height: 1.2; letter-spacing: -.045em; }
.emas-contact-details > p { margin: 7px 0 15px; color: #647985; font-size: 10px; line-height: 1.5; }
.emas-contact-details > a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 13px; border-top: 1px solid #c8e1e7; color: #24677a; font-size: 12px; text-decoration: none; }
.emas-contact-details > a svg { width: 19px; height: 19px; color: #24677a; transition: transform .2s ease; }
.emas-contact-details > a + a { margin-top: 10px; padding-top: 0; border-top: 0; }
.emas-contact-details > a:hover svg { transform: translate(2px, -2px); }
.emas-contact-details > a:focus-visible { outline: 2px solid #24677a; outline-offset: 5px; border-radius: 3px; }

@media (max-width: 760px) {
    .emas-product-stage { margin-top: 38px; }
    .emas-product-pair { grid-template-columns: minmax(0, 1fr); gap: 26px; }
    .emas-product-mobile { width: min(78%, 320px); justify-self: center; }
    .emas-preview-modal { padding-right: 12px; padding-left: 12px; }
    .emas-product-caption { font-size: 8px; margin-top: 30px; }
    .emas-contact-person { max-width: 400px; grid-template-columns: 86px minmax(0, 1fr); gap: 17px; padding: 20px; justify-self: start; }
    .emas-contact-details .emas-person-name { font-size: 23px; }
}

@media (prefers-reduced-motion: reduce) {
    .emas-contact-details > a svg, .emas-product-screen { transition: none; }
    .emas-preview-modal[open] .emas-preview-modal-image img, .emas-preview-modal[open]::backdrop { animation: none; }
}
