
.ewop-about .about-header { background-position: center; }
.ewop-about .about-header .container { position: relative; z-index: 1; }
.ewop-about .about-intro-image { display: block; width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; }
.ewop-about .about-facts h3 { font-size: clamp(48px, 5.5vw, 76px); }
.ewop-about #podrocja { scroll-margin-top: 100px; }
.ewop-about .about-email { overflow-wrap: anywhere; }
.ewop-about a:focus-visible { outline: 2px solid #ff0064; outline-offset: 4px; }
@media (max-width: 767px) {
  .ewop-about .about-header { padding-top: 130px; background-position: 60% center; }
  .ewop-about .fz-40 { font-size: 30px; }
  .ewop-about .fz-50 { font-size: 36px; }
  .ewop-about .services-inline2 .text { margin-bottom: 30px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .ewop-about .slide-har { animation: none; }
}

.reference-gallery-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.reference-gallery-controls { display: flex; gap: 12px; }
.reference-gallery-controls button { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; background: transparent; color: #fff; cursor: pointer; }
.reference-gallery-controls button:hover:not(:disabled) { border-color: #ff0064; color: #ff0064; }
.reference-gallery-controls button:disabled { opacity: .3; cursor: default; }
.reference-gallery-track { --reference-gap: 20px; display: grid; grid-auto-flow: column; grid-template-rows: repeat(2, auto); grid-auto-columns: calc((100% - 4 * var(--reference-gap)) / 5); gap: var(--reference-gap); overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #686868 transparent; padding-bottom: 20px; }
.reference-gallery-image { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; scroll-snap-align: start; }
.reference-gallery-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.reference-gallery-track:focus-visible,
.reference-gallery-controls button:focus-visible { outline: 2px solid #ff0064; outline-offset: 4px; }
@media (max-width: 600px) {
  .reference-gallery-heading { gap: 16px; margin-bottom: 28px; }
  .reference-gallery-controls { gap: 8px; }
  .reference-gallery-controls button { width: 44px; height: 44px; }
  .reference-gallery-track { --reference-gap: 12px; grid-auto-columns: calc((100% - var(--reference-gap)) / 2); }
}

.segment-project a:focus-visible {
  outline: 2px solid #ff0064;
  outline-offset: 5px;
}

.segment-project #references { scroll-margin-top: 100px; }
.segment-project .header-project h1 { font-size: clamp(48px, 6vw, 70px); }
.segment-project .segment-work-image { display: block; width: 100%; height: auto; max-height: 660px; object-fit: cover; }
.segment-project .segment-text-link { border-bottom: 1px solid rgba(255, 255, 255, .25); padding-bottom: 10px; overflow-wrap: anywhere; }
.segment-project .segment-text-link:hover, .segment-project .info a:hover { color: #ff0064; }
.segment-project .segment-area-link { display: block; background-position: center; }
.segment-project .segment-area-link .stroke { color: transparent; -webkit-text-stroke: 1px #fff; }
.segment-project .segment-area-link:hover .stroke { color: #fff; }
.segment-skip { position: fixed; top: 8px; left: 16px; z-index: 99999; background: #0f0f0f; padding: 12px; transform: translateY(-160%); }
.segment-skip:focus { transform: translateY(0); }

@media (max-width: 767px) {
  .segment-project .header-project { padding: 180px 0 80px; min-height: 60vh; background-position: 62% center !important; }
  .segment-project .segment-work-image { max-height: none; }
  .segment-project .next-project .box { padding: 120px 24px 80px; }
  .segment-project .next-project .box .fz-40 { font-size: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  .segment-project .slide-har { animation: none; }
}

.portfolio-crev {
  padding-top: var(--ewop-nav-h, 72px);
  box-sizing: border-box;
}

@media (min-width: 993px) {
  .portfolio-crev .work-boxs .item {
    height: calc(100vh - var(--ewop-nav-h, 72px));
    min-height: 0;
  }
}

.ewop-logo {
  width: 148px;
  display: inline-block;
}

.portfolio-crev a.item:focus-visible {
  outline: 2px solid #ff0064;
  outline-offset: -2px;
}

.ewop-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.portfolio-crev .item .bg-img .cont.ewop-seg {
  opacity: 1;
  visibility: visible;
  width: 100%;
}

.portfolio-crev .item:not(.active) .bg-img .cont.ewop-seg h5 {
  opacity: 1 !important;
  transform: none !important;
  margin: 0;
  font-size: 16px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: normal;
}

.portfolio-crev .item:not(.active) .ewop-seg .seg-detail,
.portfolio-crev .item:not(.active) .ewop-seg .arrow {
  display: none;
}

.contact .info-box .morinfo a {
  color: #fff;
  overflow-wrap: anywhere;
}

.contact .info-box .morinfo a:hover {
  color: #fe0b6a;
}

.portfolio-crev .item.active .ewop-seg .seg-detail {
  display: block;
  max-width: 460px;
  margin: 12px 0 0;
  color: #c6c8c9;
  font-size: 15px;
  line-height: 1.55;
}

.wow{visibility:visible}
/* Editorial copy and verified references, October 2026. */
.segment-project .header-project h1{font-size:clamp(2.4rem,6.2vw,6rem);line-height:1.08;max-width:16ch;overflow-wrap:normal}
.segment-project .header-project{min-height:480px;height:65vh;max-height:760px;background-position:center}
.segment-project p,.ewop-about p{line-height:1.8}
.ewop-image-credit{font-size:12px;line-height:1.6;color:#bcb7bc;padding-top:12px}
.ewop-reference-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:36px}
.ewop-reference{padding-top:24px;border-top:1px solid #484348;min-width:0}
.ewop-reference h3{font-size:clamp(22px,2vw,30px);line-height:1.3;margin:16px 0 24px}
.ewop-reference p{margin-bottom:20px;line-height:1.75}
.ewop-reference address{font-style:normal;font-size:14px;line-height:1.8;color:#c8c4c8;margin-bottom:8px}
.ewop-reference .sub-title{font-size:11px;letter-spacing:.08em;line-height:1.7}
.ewop-references>.container>p{max-width:72ch}
.ewop-projects{margin-top:100px}
.ewop-project{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px;align-items:center;padding:40px 0;border-top:1px solid #484348}
.ewop-project img{width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}
.ewop-project p{line-height:1.8}
.ewop-references a,.segment-project .segment-text-link{overflow-wrap:anywhere}
@media(max-width:767px){.ewop-reference-grid,.ewop-project{grid-template-columns:1fr;gap:28px}.ewop-reference{padding-bottom:20px}.ewop-projects{margin-top:64px}.segment-project .header-project{min-height:360px;height:55vh}.ewop-references .fz-40{font-size:32px!important}.ewop-project{padding:32px 0}}

/* Shared EWOP masthead. Keep the same geometry before and after scrolling. */
.navbar.ewop-navbar {
  --nav-accent: #ff0064;
  position: fixed; top: 0; transform: none; padding: 0;
  background: rgba(19, 17, 20, .92);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.navbar.ewop-navbar.nav-scroll { top: 0; transform: none; background: rgba(19, 17, 20, .97); }
.navbar.ewop-navbar > .container { min-height: 88px; gap: 32px; }
.navbar.ewop-navbar .ewop-logo { width: 132px; flex: 0 0 132px; }
.navbar.ewop-navbar .logo:after,
.navbar.ewop-navbar .contact-button:after { display: none; }
.navbar.ewop-navbar .navbar-nav { gap: 24px; }
.navbar.ewop-navbar .navbar-nav .nav-link {
  position: relative; margin: 0; padding: 32px 0;
  font-size: 14px; line-height: 24px; font-weight: 500;
  text-transform: none; letter-spacing: .01em; color: #ddd8de;
}
.navbar.ewop-navbar .nav-link:hover,
.navbar.ewop-navbar .nav-link[aria-current="page"],
.navbar.ewop-navbar .nav-link.is-current { color: #fff; }
.navbar.ewop-navbar .nav-link[aria-current="page"]:before,
.navbar.ewop-navbar .nav-link.is-current:before {
  content: ''; display: block; position: absolute; height: 2px;
  background: var(--nav-accent); left: 0; right: 0; bottom: 20px;
}
.navbar.ewop-navbar .dropdown-toggle:after {
  content: ''; display: inline-block; width: 6px; height: 6px;
  margin: 0 0 3px 9px; border: solid currentColor; border-width: 0 1px 1px 0;
  transform: rotate(45deg); vertical-align: middle;
}
.navbar.ewop-navbar .dropdown-toggle[aria-expanded="true"]:after { transform: rotate(225deg); margin-bottom: 0; }
.navbar.ewop-navbar .navbar-nav .dropdown-menu {
  min-width: 300px; padding: 12px; margin: 0; top: calc(100% - 8px);
  background: #201c21; border: 1px solid #443b45; border-radius: 12px;
  box-shadow: 0 24px 64px #0006; transform: translateY(8px);
  transition: opacity .18s ease-out, transform .18s ease-out, visibility .18s;
}
.navbar.ewop-navbar .dropdown-menu.show { transform: translateY(0); }
.navbar.ewop-navbar .dropdown-menu .dropdown-item {
  padding: 14px 16px; min-height: 48px; border-radius: 6px;
  font-size: 14px; letter-spacing: 0; color: #e8e1e9;
}
.navbar.ewop-navbar .dropdown-menu .dropdown-item:after { display: none; }
.navbar.ewop-navbar .dropdown-item:hover,
.navbar.ewop-navbar .dropdown-item[aria-current="page"] { background: #ffffff09; color: #ff5b9b; }
.navbar.ewop-navbar .contact-button { margin: 0; flex-shrink: 0; }
.navbar.ewop-navbar .contact-button a {
  display: inline-flex; align-items: center; gap: 24px; padding: 12px 20px;
  min-height: 46px; border: 1px solid var(--nav-accent); border-radius: 6px;
  color: #fff; font-size: 13px; font-weight: 500; background: var(--nav-accent);
}
.navbar.ewop-navbar .contact-button a:after { content: '↗'; font-size: 20px; line-height: 1; }
.navbar.ewop-navbar .contact-button a:before { display: none; }
.navbar.ewop-navbar .contact-button a:hover { background: #d90055; border-color: #d90055; }
.navbar.ewop-navbar a:focus-visible,
.navbar.ewop-navbar button:focus-visible { outline: 2px solid #ff5b9b; outline-offset: 5px; }
.navbar.ewop-navbar .navbar-toggler {
  width: 44px; height: 44px; border: 1px solid #ffffff30; border-radius: 6px;
  padding: 10px; color: #fff; box-shadow: none;
}
.navbar.ewop-navbar .navbar-toggler i { display: none; }
.navbar.ewop-navbar .navbar-toggler .icon-bar { display: grid; gap: 6px; }
.navbar.ewop-navbar .navbar-toggler .icon-bar:before,
.navbar.ewop-navbar .navbar-toggler .icon-bar:after {
  content: ''; width: 20px; height: 1px; background: currentColor; transition: transform .18s ease-out;
}
.navbar.ewop-navbar .navbar-toggler[aria-expanded="true"] .icon-bar:before { transform: translateY(3.5px) rotate(45deg); }
.navbar.ewop-navbar .navbar-toggler[aria-expanded="true"] .icon-bar:after { transform: translateY(-3.5px) rotate(-45deg); }
@media (max-width: 991px) {
  .navbar.ewop-navbar > .container { min-height: 76px; gap: 16px; flex-wrap: nowrap; }
  .navbar.ewop-navbar .ewop-logo { width: 116px; flex-basis: 116px; margin-right: auto; }
  .navbar.ewop-navbar .navbar-toggler { order: 3; flex-shrink: 0; }
  .navbar.ewop-navbar .contact-button { display: block; order: 2; }
  .navbar.ewop-navbar .contact-button a { padding: 10px 14px; gap: 12px; min-height: 44px; }
  .navbar.ewop-navbar .navbar-collapse {
    position: absolute; top: 100%; left: 0; width: 100%; margin: 0; padding: 16px max(24px, calc((100vw - 720px) / 2)) 28px;
    background: #171418; overflow-y: auto; max-height: calc(100dvh - 76px);
    border-bottom: 1px solid #ffffff26; box-shadow: 0 24px 40px #0004;
  }
  .navbar.ewop-navbar .navbar-nav { gap: 0; margin: 0; padding: 0; }
  .navbar.ewop-navbar .navbar-nav .nav-link { width: 100%; text-align: left; padding: 14px 0; font-size: 19px; border-bottom: 1px solid #ffffff12; }
  .navbar.ewop-navbar .nav-link[aria-current="page"],
  .navbar.ewop-navbar .nav-link.is-current { color: #ff5b9b; }
  .navbar.ewop-navbar .nav-link:before { display: none !important; }
  .navbar.ewop-navbar .navbar-nav .dropdown-menu { display: none; position: static; min-width: 0; padding: 8px 0; border: 0; box-shadow: none; background: transparent; }
  .navbar.ewop-navbar .navbar-nav .dropdown-menu.show { display: block; }
  .navbar.ewop-navbar .dropdown-menu .dropdown-item { white-space: normal; }
}
@media (max-width: 380px) {
  .navbar.ewop-navbar > .container { gap: 10px; }
  .navbar.ewop-navbar .contact-button a { font-size: 12px; padding: 10px; gap: 8px; }
  .navbar.ewop-navbar .ewop-logo { width: 96px; flex-basis: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  .navbar.ewop-navbar, .navbar.ewop-navbar * { transition: none !important; }
}

.navbar.ewop-navbar button.nav-link { background: none; border: 0; cursor: pointer; font-family: inherit; }
.navbar.ewop-navbar .nav-item.dropdown { position: relative; }
.navbar.ewop-navbar .navbar-nav .dropdown-menu { left: 0; }

.portfolio-crev .ewop-seg img.home-zeroo-logo { display:block; width:144px; height:auto; padding:10px 12px; margin-bottom:12px; background:#f1f7f3; border-radius:4px; }
