/*
 * enigmaprocess — legacy enigmaprocess.com (Create React App + MUI 5, dark
 * theme) rebuilt without React. Every value below was READ from the CSS the
 * live MUI app generated at runtime (emotion, 2026-10-17) — palette, type
 * scale, spacing, shadows, breakpoints — and is kept as-is; class names are
 * ours, not MUI's hashed ones.
 *
 * MUI theme: mode dark; primary #1a1a1a (light #252525); secondary #14b3a0
 * (dark #008977); neutral #676666; text.secondary rgba(255,255,255,.65);
 * headings Montserrat, everything else Quicksand. Breakpoints: sm 600,
 * md 900, lg 1200, xl 1536 ("down(md)" = max-width 899.95px).
 *
 * Legacy font requests are kept exactly (Quicksand 400, Montserrat 600,
 * Caveat 700): headings ask for weight 300/400 but only the 600 face is
 * loaded, so the browser draws them with it — that IS the legacy look.
 */

/* ---------------------------------------------------------------- base */
html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    box-sizing: border-box;
    -webkit-text-size-adjust: 100%;
    color-scheme: dark;
}
*, *::before, *::after { box-sizing: inherit; }
strong, b { font-weight: 700; }
body {
    margin: 0;
    color: #fff;
    font-family: Quicksand, sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.75;
    letter-spacing: 0.00938em;
    background-color: #121212;
}
html, body { overflow-x: hidden; overflow-y: auto; scroll-behavior: smooth; }
/* MuiCssBaseline override in the legacy theme — every image fills its box. */
img { width: 100%; height: 100%; }
a { color: inherit; }
[hidden] { display: none !important; }

/* Shared type styles (MUI variants as the theme configured them). */
.ep-h2 {
    margin: 0;
    font-family: Montserrat, sans-serif;
    font-weight: 300;
    font-size: 3.75rem;
    line-height: 1.2;
    letter-spacing: -0.00833em;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    text-align: center;
}
.ep-h2::after {
    display: inline-block;
    width: 80px;
    height: 4px;
    content: "";
    background: #14b3a0;
    border-radius: 50px;
}
.ep-h4-boxed {
    margin: 0;
    font-family: Montserrat, sans-serif;
    font-weight: 400;
    font-size: 2.125rem;
    line-height: 1.235;
    letter-spacing: 0.00735em;
    text-align: center;
    border: 2px solid #fff;
    border-radius: 10px;
    padding: 8px;
    text-transform: capitalize;
    color: #fff;
}
.ep-h6 {
    margin: 0;
    font-family: Montserrat, sans-serif;
    font-weight: 600;
    font-size: 1.25rem;
    line-height: 1.6;
    letter-spacing: 0.0075em;
    color: #fff;
    text-transform: capitalize;
}
.ep-body2 {
    margin: 0;
    font-family: Quicksand, sans-serif;
    font-weight: 400;
    font-size: 0.875rem;
    line-height: 1.43;
    letter-spacing: 0.01071em;
    color: #fff;
}

/* Section shells: flex column, centred, 32px gap; padding 32/16 → 80 on md+. */
.ep-shell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    padding: 32px 16px;
}
@media (min-width: 900px) { .ep-shell { padding: 80px; } }
.ep-shell--dark { background-color: #1a1a1a; }
.ep-shell--teal { background-color: #14b3a0; }
@media (min-width: 900px) { .ep-shell--teal { padding: 96px; } }
.ep-overlay { background: rgba(0, 0, 0, 0.34); }

/* ------------------------------------------------- fixed background video */
/* Legacy mounted the same video three times (hero, Specialties, Brands), each
   fixed full-screen behind the page; the last one painted over the others, so
   one fixed video is what visitors saw. The colour is the Paper it sat in
   (#121212 + 5% white overlay) — what shows while the video loads. */
.ep-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    background-color: #1e1e1e;
}
.ep-bg__video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ------------------------------------------------------------- header */
.ep-header-wrap {
    background-color: #1a1a1a;
    padding: 0;
    opacity: 0.9;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
}
/* With JS the bar appears only once the page is scrolled (legacy: mounted at
   scrollTop > 0 with a 750ms Slide down, unmounted at 0). */
.ep-js .ep-header-wrap { transform: translateY(-100%); visibility: hidden; }
.ep-js .ep-header-wrap.is-shown {
    transform: none;
    visibility: visible;
    transition: transform 750ms cubic-bezier(0, 0, 0.2, 1);
}
.ep-appbar {
    display: flex;
    flex-direction: column;
    width: 100%;
    flex-shrink: 0;
    padding: 0 40px;
    color: #fff;
    /* Paper elevation 4 in dark mode: #121212 + 9% white overlay */
    background-color: #121212;
    background-image: linear-gradient(rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.09));
    box-shadow: rgba(0, 0, 0, 0.2) 0 2px 4px -1px, rgba(0, 0, 0, 0.14) 0 4px 5px 0, rgba(0, 0, 0, 0.12) 0 1px 10px 0;
}
@media (max-width: 899.95px) { .ep-appbar { padding: 0 0.25rem; } }
.ep-toolbar {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 56px;
    height: 100%;
}
@media (min-width: 0px) and (orientation: landscape) { .ep-toolbar { min-height: 48px; } }
@media (min-width: 600px) { .ep-toolbar { min-height: 64px; } }
.ep-bar { display: none; flex-grow: 1; justify-content: space-between; }
@media (max-width: 899.95px) { .ep-bar--mobile { display: flex; align-items: center; } }
@media (min-width: 900px) { .ep-bar--desktop { display: flex; } }
.ep-logo {
    width: 250px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ep-logo__link {
    display: block;
    width: 100%;
    height: 100%;
    padding: 8px;
    background-color: transparent;
    transition: background-color 150ms, box-shadow 150ms;
}
.ep-logo__link:hover {
    background-color: #121212;
    box-shadow: rgba(0, 0, 0, 0.2) 0 2px 4px -1px, rgba(0, 0, 0, 0.14) 0 4px 5px 0, rgba(0, 0, 0, 0.12) 0 1px 10px 0;
}
.ep-logo__link img { display: block; }
.ep-nav { display: flex; align-items: center; }
.ep-nav__link {
    margin: 0;
    font-family: Quicksand, sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.75;
    letter-spacing: 0.00938em;
    color: #fafafa;
    text-decoration: none;
}
.ep-nav__link:hover { text-decoration: underline; }
@media (min-width: 900px) { .ep-nav__link { margin-left: 4px; margin-right: 4px; } }
@media (min-width: 1200px) { .ep-nav__link { margin-left: 8px; margin-right: 8px; } }
@media (min-width: 1536px) { .ep-nav__link { margin-left: 12px; margin-right: 12px; } }

/* Hamburger (legacy: hamburger-react inside a small IconButton). */
.ep-burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 5px;
    margin: 0;
    border: 0;
    border-radius: 50%;
    background-color: transparent;
    color: inherit;
    font-size: 1.125rem;
    cursor: pointer;
    transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.ep-burger:hover { background-color: rgba(255, 255, 255, 0.08); }
.ep-burger__box { position: relative; display: block; width: 48px; height: 48px; }
.ep-burger__bar {
    position: absolute;
    left: 8px;
    width: 32px;
    height: 3px;
    background: currentColor;
    transition: transform 0.2s cubic-bezier(0, 0, 0, 1), opacity 0.2s cubic-bezier(0, 0, 0, 1);
}
.ep-burger__bar:nth-child(1) { top: 13px; }
.ep-burger__bar:nth-child(2) { top: 23px; }
.ep-burger__bar:nth-child(3) { top: 33px; }
.ep-burger[aria-expanded="true"] .ep-burger__bar:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.ep-burger[aria-expanded="true"] .ep-burger__bar:nth-child(2) { opacity: 0; }
.ep-burger[aria-expanded="true"] .ep-burger__bar:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

/* ------------------------------------------------------- language menu */
.ep-lang--header { position: absolute; top: 0; right: 0; }
@media (max-width: 899.95px) { .ep-lang--header { display: none; } }
.ep-langsel { position: relative; display: inline-block; }
.ep-langsel__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 0;
    border: 0;
    border-radius: 4px;
    background-color: transparent;
    cursor: pointer;
    font-family: Quicksand, sans-serif;
    font-weight: 500;
    font-size: 0.8125rem;
    line-height: 1.75;
    letter-spacing: 0.02857em;
    text-transform: uppercase;
    min-width: 64px;
    padding: 4px 5px;
    opacity: 0.9;
    color: #fff;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.ep-langsel__btn:hover { background-color: rgba(26, 26, 26, 0.08); }
.ep-langsel__icon { display: inherit; margin-right: -2px; margin-left: 8px; }
.ep-langsel__icon svg { width: 18px; height: 18px; fill: currentColor; }
.ep-langsel__menu {
    position: fixed; /* top/left set by enigmaprocess.js from the button */
    z-index: 1300;
    margin: 0;
    padding: 4px 0;
    list-style: none;
    border-radius: 6px;
    color: #e0e0e0;
    background-color: #121212;
    box-shadow: rgb(255, 255, 255) 0 0 0 0, rgba(0, 0, 0, 0.05) 0 0 0 1px, rgba(0, 0, 0, 0.1) 0 10px 15px -3px, rgba(0, 0, 0, 0.05) 0 4px 6px -2px;
}
.ep-langsel__item {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 6px 16px;
    font-family: Quicksand, sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    letter-spacing: 0.00938em;
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}
@media (min-width: 600px) { .ep-langsel__item { min-height: auto; } }
.ep-langsel__item:hover { background-color: rgba(255, 255, 255, 0.08); }
.ep-langsel__item[aria-disabled="true"] { opacity: 0.38; pointer-events: none; }

/* ------------------------------------------------------- mobile drawer */
.ep-drawer { position: fixed; inset: 90px 0 0; z-index: 1200; }
.ep-drawer__backdrop {
    position: fixed;
    inset: 90px 0 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: -1;
    opacity: 0;
    transition: opacity 225ms cubic-bezier(0.4, 0, 0.2, 1);
}
.ep-drawer__paper {
    position: fixed;
    top: 90px;
    left: 0;
    right: 0;
    max-height: 100%;
    overflow-y: auto;
    z-index: 1200;
    color: #fff;
    /* Paper elevation 16: #121212 + 15% white overlay */
    background-color: #121212;
    background-image: linear-gradient(rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.15));
    box-shadow: rgba(0, 0, 0, 0.2) 0 8px 10px -5px, rgba(0, 0, 0, 0.14) 0 16px 24px 2px, rgba(0, 0, 0, 0.12) 0 6px 30px 5px;
    transform: translateY(-120%);
    transition: transform 225ms cubic-bezier(0, 0, 0.2, 1);
}
.ep-drawer.is-open .ep-drawer__backdrop { opacity: 1; }
.ep-drawer.is-open .ep-drawer__paper { transform: none; }
.ep-drawer__inner { background-color: #1a1a1a; opacity: 0.9; }
.ep-drawer__list { list-style: none; margin: 0; padding: 8px 0; position: relative; }
.ep-drawer__item { display: flex; padding: 8px 16px; transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1); }
.ep-drawer__item:hover { background-color: rgba(255, 255, 255, 0.08); }
.ep-drawer__link {
    display: flex;
    flex-grow: 1;
    align-items: center;
    padding: 12px 16px;
    color: #fff;
    text-decoration: none;
    font-family: Quicksand, sans-serif;
    font-size: 1rem;
    line-height: 1.75;
    letter-spacing: 0.00938em;
    transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.ep-drawer__link:hover { background-color: rgba(255, 255, 255, 0.08); }
.ep-drawer__divider {
    margin: 0 16px;
    border-bottom: thin solid rgba(255, 255, 255, 0.12);
    background-color: #eee;
    opacity: 0.2;
}
.ep-drawer__lang { margin: 8px 24px; }
@media (min-width: 900px) { .ep-drawer__lang { display: none; } }
.ep-drawer__lang hr { margin: 0 0 8px; border: 0; border-bottom: thin solid rgba(255, 255, 255, 0.12); }

/* ------------------------------------------------------------- buttons */
.ep-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 0;
    border: 0;
    cursor: pointer;
    text-decoration: none;
    font-family: Quicksand, sans-serif;
    font-weight: 500;
    font-size: 0.875rem;
    line-height: 1.75;
    letter-spacing: 0.02857em;
    text-transform: uppercase;
    min-width: 64px;
    padding: 6px 16px;
    border-radius: 4px;
    box-shadow: none;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1), border-color 250ms cubic-bezier(0.4, 0, 0.2, 1), color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.ep-btn--primary { color: #fff; background-color: #1a1a1a; }
.ep-btn--primary:hover { background-color: #121212; }
.ep-btn--secondary { color: rgba(0, 0, 0, 0.87); background-color: #14b3a0; }
.ep-btn--secondary:hover { background-color: #008977; }
@media (hover: none) {
    .ep-btn--primary:hover { background-color: #1a1a1a; }
    .ep-btn--secondary:hover { background-color: #14b3a0; }
}
.ep-btn--outlined {
    width: 100%;
    justify-content: flex-start;
    padding: 5px 15px;
    text-transform: lowercase;
    background-color: transparent;
    border: 1px solid rgba(20, 179, 160, 0.5);
    color: #14b3a0;
}
.ep-btn--outlined:hover { background-color: rgba(20, 179, 160, 0.08); border-color: #14b3a0; text-decoration: underline; }
.ep-btn__start { display: inherit; margin-right: 8px; margin-left: -4px; }
.ep-btn__start svg { width: 20px; height: 20px; fill: currentColor; }
.ep-btn__label {
    margin: 0;
    font-family: Quicksand, sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.75;
    letter-spacing: 0.00938em;
    color: rgba(255, 255, 255, 0.65);
}

/* ---------------------------------------------------------------- hero */
.ep-hero { height: 100vh; width: 100vw; }
/* Absolutely positioned against the initial containing block, like legacy:
   centred in the first screen. */
.ep-hero__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
}
.ep-hero__title {
    margin: 0;
    font-size: 3rem;
    line-height: 1.167;
    letter-spacing: 0;
    font-family: "Segoe Print", Caveat, cursive, Montserrat;
    text-align: center;
    color: #fff;
    text-transform: lowercase;
    padding: 16px;
    border-radius: 8px;
    font-weight: 900;
}
@media (min-width: 900px) { .ep-hero__title { width: 800px; } }
@media (max-width: 899.95px) { .ep-hero__title { width: auto; word-spacing: 100vw; } }
.ep-hero__text { margin: 0; text-align: center; color: #fff; }
.ep-hero__buttons { display: flex; gap: 32px; text-align: center; }

/* --------------------------------------------------------------- about */
.ep-stack { display: flex; flex-direction: column; gap: 16px; height: 100%; }
.ep-grid {
    display: flex;
    flex-flow: row wrap;
    margin-top: -16px;
    margin-left: -16px;
    width: calc(100% + 16px);
}
.ep-grid > .ep-grid__item { padding-top: 16px; padding-left: 16px; }
.ep-grid--about { max-width: 1300px; }
.ep-grid--brands { max-width: 800px; }
.ep-grid__item { margin: 0; flex-basis: 100%; flex-grow: 0; max-width: 100%; }
@media (min-width: 900px) { .ep-grid--about > .ep-grid__item { flex-basis: 33.3333%; max-width: 33.3333%; } }
.ep-grid--brands > .ep-grid__item { flex-basis: 33.3333%; max-width: 33.3333%; }
.ep-card {
    overflow: hidden;
    color: #fff;
    background-color: #1a1a1a;
    border-radius: 0;
    max-width: 350px;
    margin: 0 auto;
}
@media (min-width: 600px) { .ep-card { max-width: 400px; margin-bottom: 32px; } }
@media (min-width: 900px) { .ep-card { margin-bottom: 0; } }
.ep-card__media { display: block; width: 100%; border-radius: 4px; object-fit: contain; }
@media (min-width: 900px) { .ep-card__media { height: 220px; } }
.ep-card__content { padding: 16px 16px 24px 0; }
.ep-card__title {
    margin: 0 0 0.35em;
    font-family: Montserrat, sans-serif;
    font-weight: 400;
    font-size: 1.5rem;
    line-height: 1.334;
    letter-spacing: 0;
    color: #fff;
    text-transform: capitalize;
}
.ep-card__text { text-align: justify; }

/* -------------------------------------------------- specialties / lists */
.ep-list { list-style: none; margin: 0; padding: 8px 0; position: relative; display: flex; flex-wrap: wrap; }
.ep-list--specialties { max-width: 1100px; gap: 8px; }
.ep-list--services { max-width: 1000px; }
.ep-tile {
    flex: 1 1 100%;
    display: flex;
    align-items: center;
    color: #fff;
    border-radius: 4px;
    /* Paper elevation 8 in dark mode: #1a1a1a + 12% white overlay */
    background-color: #1a1a1a;
    background-image: linear-gradient(rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.12));
    box-shadow: rgba(0, 0, 0, 0.2) 0 5px 5px -3px, rgba(0, 0, 0, 0.14) 0 8px 10px 1px, rgba(0, 0, 0, 0.12) 0 3px 14px 2px;
}
@media (min-width: 900px) { .ep-tile { flex: 0 0 calc(50% - 8px); } }
/* the motion wrapper is a flex item of the tile: it shrink-wraps short texts, like legacy */
.ep-item {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    width: 100%;
    text-align: left;
    padding: 8px 16px;
}
.ep-item--top { align-items: flex-start; }
.ep-item__avatar { min-width: 56px; flex-shrink: 0; }
.ep-item__avatar--48 { margin-right: 8px; }
.ep-avatar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 0;
    width: 48px;
    height: 48px;
}
.ep-avatar--80 { width: 80px; height: 80px; margin-right: 16px; margin-top: 16px; }
.ep-avatar img { width: 100%; height: 100%; object-fit: cover; text-align: center; color: transparent; }
.ep-item__text { flex: 1 1 auto; min-width: 0; margin-top: 6px; margin-bottom: 6px; }
.ep-service { margin: 16px 0; }
@media (min-width: 900px) { .ep-service { flex: 1 1 50%; } }
.ep-service .ep-body2 { color: rgba(255, 255, 255, 0.65); white-space: pre-line; }

/* ------------------------------------------------------------ projects */
.ep-projects { background: #1a1a1a; padding: 32px 0; }
@media (min-width: 900px) { .ep-projects { padding: 80px 0; } }
.ep-carousel { position: relative; width: 100%; overflow: hidden; outline: none; }
.ep-carousel__track { display: flex; margin: 0; padding: 0; list-style: none; transition: transform 350ms ease-in-out; }
.ep-carousel__track.is-jumping { transition: none; }
.ep-carousel__slide { min-width: 100%; margin: 0; position: relative; text-align: center; }
.ep-slide {
    display: flex;
    padding: 64px;
    height: 100%;
    gap: 40px;
    max-width: 1200px;
    margin: auto;
}
@media (max-width: 899.95px) { .ep-slide { flex-direction: column; } }
@media (min-width: 900px) { .ep-slide { padding: 40px; } }
@media (min-width: 900px) { .ep-slide__text { flex: 1 1 30%; } }
.ep-slide__title {
    margin: 0 0 16px;
    font-family: Montserrat, sans-serif;
    font-weight: 400;
    font-size: 1.5rem;
    line-height: 1.334;
    text-align: start;
    color: #fff;
}
.ep-slide__p { margin: 0 0 8px; text-align: justify; }
.ep-slide__media { flex-basis: 200px; padding: 8px; }
@media (min-width: 900px) { .ep-slide__media { flex: 1 1 400px; height: 520px; } }
.ep-slide__media img {
    display: inline-block;
    vertical-align: top;
    border: 0;
    pointer-events: none;
    border-radius: 4px;
    object-fit: contain;
    object-position: center top;
}
.ep-carousel__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    z-index: 2;
    margin: 0;
    padding: 8px;
    border: 0;
    border-radius: 50%;
    background-color: transparent;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.ep-carousel__arrow:hover { background-color: rgba(255, 255, 255, 0.08); }
.ep-carousel__arrow--prev { left: 5px; }
.ep-carousel__arrow--next { right: 5px; }
.ep-carousel__arrow svg { width: 0.75em; height: 0.75em; fill: currentColor; }
.ep-carousel__dots {
    position: absolute;
    bottom: 0;
    z-index: 1;
    width: 100%;
    margin: 10px 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
}
.ep-carousel__dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin: 0 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #fff;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.9);
    cursor: pointer;
    opacity: 0.3;
    transition: opacity 0.25s ease-in;
}
.ep-carousel__dot.is-selected, .ep-carousel__dot:hover { opacity: 1; }

/* --------------------------------------------------------------- brands */
.ep-brands { position: relative; }
.ep-brands img { border-radius: 16px; }

/* -------------------------------------------------------------- contact */
.ep-contact__address { margin: 0 0 32px; max-width: 850px; color: #fff; }
.ep-contact__row { display: flex; width: 100%; max-width: 950px; gap: 32px; padding: 0 4px; }
@media (max-width: 899.95px) { .ep-contact__row { flex-direction: column; gap: 48px; } }
.ep-contact__buttons { display: flex; flex-direction: column; flex: 0 0 30%; align-items: center; gap: 12px; }
.ep-map { width: 100%; height: 400px; border-radius: 4px; overflow: hidden; position: relative; }
/* Legacy styled the Google Maps JS API map with a dark scheme; the keyless
   embed cannot be styled, an inverted rendering comes closest. */
.ep-map iframe { display: block; width: 100%; height: 100%; border: 0; filter: invert(90%) hue-rotate(180deg) brightness(0.95); }
.ep-map__link {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px;
    border-radius: 2px;
    background: #fff;
    color: #1a1a1a;
    font-family: Roboto, Arial, sans-serif;
    font-size: 0.8125rem;
    line-height: 1.2;
    text-decoration: none;
    box-shadow: 0 2px 7px 1px rgba(0, 0, 0, 0.3);
}
.ep-map__link:hover { text-decoration: underline; }

/* ---------------------------------------------------------- back to top */
.ep-totop {
    position: fixed;
    right: 10px;
    bottom: 10px;
    z-index: 2;
    opacity: 0;
    transform: translateY(200px);
    pointer-events: none;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
}
.ep-totop.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.ep-totop__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 0;
    padding: 8px;
    border: 0;
    border-radius: 50%;
    background-color: #676666;
    color: #14b3a0;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.ep-totop__btn:hover { background-color: #fff; transform: scale(1.2); }
.ep-totop__btn:active { transform: scale(0.8); }
.ep-totop__btn svg { width: 1em; height: 1em; fill: currentColor; }

/* --------------------------------------------------------------- footer */
.ep-footer {
    background-color: #252525;
    height: 200px;
    width: 100%;
    color: #fafafa;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}
.ep-footer__social { display: flex; gap: 12px; padding: 0 24px; }
.ep-footer__social a { display: flex; align-items: center; color: inherit; transition: transform 0.2s; }
.ep-footer__social a:hover { transform: scale(1.2); }
.ep-footer__social svg { width: 1em; height: 1em; font-size: 1.5rem; fill: currentColor; }
.ep-footer__copy { margin: 0; color: #fff; }

/* ----------------------------------------------- single page (panel pages) */
.ep-page { min-height: 70vh; padding-top: 140px; }
.ep-page__body { width: 100%; max-width: 950px; }
.ep-page__body img { height: auto; }

/* --------------------------------------------------- reveal on scroll */
/* framer-motion in legacy: titles fade in (0.75s), cards slide in from the
   side with a springy settle, once, when a quarter/half is in view. Without
   JS nothing is hidden. */
.ep-js [data-ep-reveal] {
    opacity: 0;
    transition: opacity 0.75s ease, transform 0.8s cubic-bezier(0.34, 1.4, 0.64, 1);
}
.ep-js [data-ep-reveal="left"] { transform: translateX(-100px); }
.ep-js [data-ep-reveal="right"] { transform: translateX(100px); }
.ep-js [data-ep-reveal="up"] { transform: translateY(100px); }
.ep-js [data-ep-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .ep-js [data-ep-reveal] { opacity: 1; transform: none; transition: none; }
}
