*{box-sizing:border-box;margin:0;padding:0}html{scroll-behavior:smooth}
body{background:#FFFFFF;color:#083535;font-family:Heebo,sans-serif}a{color:inherit;text-decoration:none}
.nav{position:sticky;top:0;z-index:10;display:flex;justify-content:space-between;align-items:center;padding:16px 5vw;background:#147C84;direction:ltr}
.logo img{height:44px;width:auto;display:block}
.links{display:flex;gap:22px;align-items:center}
.links a{color:#FFFFFF;font-weight:500;font-size:16px;transition:opacity .2s}.links a:hover,.links button.ic:hover{opacity:.75;color:#FFFFFF}
.ic{color:#FFFFFF}.ic svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;display:block}
.links button.ic{background:none;border:0;padding:0;cursor:pointer;color:#FFFFFF}
.links button.ic.lang-ico{display:inline-flex;align-items:center;justify-content:center;min-width:20px;min-height:20px;font:inherit;font-weight:700;font-size:16px;line-height:1;letter-spacing:.02em;white-space:nowrap;color:#FFFFFF}
.off{cursor:not-allowed;opacity:.55}
/* was 80vh / max 28vh·220px — reduced ~25% */
.hero{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:clamp(56px,10vh,120px) 5vw clamp(0px,4vh,60px)}
.hero-logo{margin:0;line-height:0;width:min(92vw,1080px)}
.hero-logo{display:flex;justify-content:center}
.wm{position:relative;display:block;width:min(100%,calc(min(25.2vh,198px)*3.6145));aspect-ratio:2400/664}
.wm .lt{position:absolute;display:block;transform-origin:50% 100%;animation:ltIn 1s linear both;animation-delay:calc(.15s + var(--i)*70ms)}
.wm .lt img{width:100%;height:100%;display:block;animation:ltFloat 3.4s ease-in-out infinite alternate;animation-delay:calc(1.1s + var(--i)*-.37s)}
.wm .head img{animation:headBob 2.6s ease-in-out infinite alternate;transform-origin:50% 90%}
.wm .head{animation-delay:calc(.15s + 11*70ms)}
@keyframes ltIn{0%{transform:translateY(55%) scale(0,0);animation-timing-function:cubic-bezier(.2,.7,.3,1)}38%{transform:translateY(-22%) scale(1.12,1.16) rotate(-4deg);animation-timing-function:cubic-bezier(.5,0,.8,.4)}55%{transform:translateY(5%) scale(1.14,.84) rotate(2deg);animation-timing-function:cubic-bezier(.2,.6,.4,1)}70%{transform:translateY(-8%) scale(.95,1.06) rotate(-1deg);animation-timing-function:cubic-bezier(.5,0,.8,.4)}82%{transform:translateY(1%) scale(1.04,.96)}92%{transform:translateY(-2%) scale(.99,1.01)}100%{transform:none}}
@keyframes ltFloat{from{transform:translateY(3%) rotate(-1.2deg)}to{transform:translateY(-4%) rotate(1.2deg)}}
@keyframes headBob{from{transform:translateY(2%) rotate(-5deg)}to{transform:translateY(-6%) rotate(5deg)}}
@media (prefers-reduced-motion:reduce){.wm .lt,.wm .lt img{animation:none!important}}
section{padding:60px 5vw}
.chips{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin-bottom:30px}
.chips button{background:none;border:1px solid #ccc;color:#555;font:inherit;padding:8px 18px;border-radius:99px;cursor:pointer;transition:all .2s}
.chips button:hover{color:#083535}.chips button.on{background:#147C84;border-color:#147C84;color:#FFFFFF;font-weight:700}
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
@media(max-width:1024px){.grid{grid-template-columns:1fr 1fr}}
.card{position:relative;aspect-ratio:16/9;overflow:hidden;cursor:pointer;transition:opacity .25s;background:#eee}
.card img.cv{width:100%;height:100%;object-fit:cover;object-position:50% 50%;display:block}
.card .ov{position:absolute;inset:0;background:rgba(0,0,0,.6);display:flex;flex-direction:column;justify-content:flex-end;padding:24px;opacity:0;transition:opacity .25s}
.card:hover .ov{opacity:1}
.card .ov h3,.card .ov span{color:#FFFFFF}
.ov h3{font-size:24px;font-weight:900}.ov span{font-size:14px}.ov h3 span{font-size:inherit;font-weight:inherit;font-family:inherit;line-height:inherit}.card.hide{display:none}
h2{font-size:clamp(40px,6vw,80px);font-weight:900;margin-bottom:20px}
.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center}
.about-photo{margin:0;border-radius:20px;overflow:hidden}
.about-photo img{width:100%;height:auto;max-width:100%;object-fit:contain;display:block;border-radius:20px}
.about-copy h2{margin-bottom:22px;line-height:1.05;font-size:clamp(44px,6.6vw,96px)}
.about-copy p{color:#555;font-size:clamp(19px,2.15vw,30px);line-height:1.55;max-width:680px}
.about-copy p{margin:0 0 0.85em}
.software-intro{margin:0.85em 0 0}
.software{list-style:none;display:flex;flex-wrap:wrap;align-items:center;gap:26px;margin:12px 0 0;padding:0;max-width:680px}
.about-copy .software li{border:0;padding:0;border-radius:18%;margin:0;font-size:0;line-height:0;background:none;overflow:hidden}
.software img{width:60px;height:60px;display:block;object-fit:contain;border-radius:18%}
.software li{transition:transform .2s ease}

.about-copy ul{list-style:none;display:flex;flex-wrap:wrap;gap:10px;margin:24px 0 32px}
.about-copy li{border:1px solid #ccc;padding:6px 14px;border-radius:99px;font-size:14px}
.about-btns{display:flex;flex-wrap:wrap;gap:12px;justify-content:flex-end;margin-top:34px}
.about-cta{display:inline-block;font-size:18px;background:#147C84;color:#FFFFFF;font-weight:700;padding:14px 28px;border-radius:99px;transition:opacity .2s}
.about-cta:hover{opacity:.85}
.cta{display:flex;gap:20px;flex-wrap:wrap}
.cta a{flex:1;min-width:240px;text-align:center;padding:36px;font-size:32px;font-weight:900;border:2px solid #147C84;transition:background .2s,color .2s}
.cta a:hover{background:#147C84;color:#FFFFFF}
.cta a small{display:block;font-size:14px;font-weight:400;margin-top:6px}
footer{padding:30px 5vw;color:#555;font-size:14px}
.modal{position:fixed;inset:0;background:#FFFFFF;z-index:20;overflow-y:auto;padding:60px 5vw;opacity:0;transition:opacity .25s}.modal.show{opacity:1}
.mbody{max-width:1000px;margin:auto}.mbody img{width:100%;display:block;margin-bottom:20px}.mbody p{color:#555;font-size:18px;margin:0 0 16px;line-height:1.6}
.mbody p:last-of-type{margin-bottom:30px}
.mbody p:has(+ .plinks){margin-bottom:16px}
.plinks{display:flex;flex-wrap:wrap;gap:12px;margin:0 0 30px;max-width:1000px}
.plink{display:inline-block;font-size:16px;font-weight:700;color:#147C84;border:1px solid #147C84;padding:8px 16px;border-radius:99px;text-decoration:none;line-height:1.2}
.plink:hover{background:#147C84;color:#FFFFFF}
html[dir="rtl"] h2 span[dir="ltr"],html[dir="rtl"] .ov h3 span[dir="ltr"]{unicode-bidi:isolate;display:inline-block}
.mrow{display:flex;gap:20px;margin-bottom:20px;align-items:flex-start}.mrow>*{flex:1 1 0;min-width:0}.mrow img,.mrow video{margin:0;width:100%;height:auto;display:block}.mrow video{background:#111;max-height:80vh}
.x{position:fixed;top:40px;right:40px;z-index:21;background:none;border:0;color:#083535;font-size:28px;cursor:pointer}
#prev,#next{position:fixed;top:50%;z-index:21;transform:translateY(-50%);width:56px;height:56px;padding:0;border:0;background:none;color:#083535;font-family:inherit;font-size:44px;font-weight:500;line-height:1;display:flex;align-items:center;justify-content:center;cursor:pointer}
#prev{inset-inline-start:16px}#next{inset-inline-end:16px}
#prev::before,#next::before{direction:ltr;unicode-bidi:isolate}#prev::before{content:"‹"}#next::before{content:"›"}
html[dir="rtl"] #prev::before{content:"›"}html[dir="rtl"] #next::before{content:"‹"}
#prev:hover,#next:hover{opacity:.7}
@media(max-width:800px){#prev,#next{width:36px;height:36px;font-size:28px}#prev{inset-inline-start:4px}#next{inset-inline-end:4px}}
@media(max-width:800px){
.about-grid{grid-template-columns:1fr;gap:24px}
.about-photo img{width:100%;height:auto}
}
@media(max-width:700px){
.mrow.c3{flex-wrap:wrap}.mrow.c3>*{flex-basis:40%!important}
.grid{grid-template-columns:1fr}
.links{gap:12px}.links a{font-size:14px}.links button.ic.lang-ico{font-size:14px}
.nav{padding:12px 4vw}
.logo img{height:36px}
.hero{padding:44px 4vw 0}
.wm{width:min(100%,calc(min(21.6vh,144px)*3.6145))}
.software{gap:18px}
.software img{width:50px;height:50px}
}
.about-copy{text-align:right}.about-copy p{margin-left:auto}

.contact-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:40px;align-items:start}
.cform{display:flex;flex-direction:column;gap:18px}
.cform .frow{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.cform label{display:flex;flex-direction:column;gap:6px;font-weight:700;font-size:15px;color:#083535}
.cform input,.cform textarea{font:inherit;font-weight:400;font-size:17px;padding:14px 16px;border:2px solid #d6d6d6;border-radius:10px;background:#fff;color:#083535;transition:border-color .2s}
.cform textarea{resize:vertical;min-height:160px}
.cform input:focus,.cform textarea:focus{outline:none;border-color:#147C84}
.cform .bad{border-color:#c0392b}
.ferr{color:#c0392b;font-size:15px;margin:0}
.send{align-self:flex-start;background:#147C84;color:#fff;border:0;font:inherit;font-weight:700;font-size:18px;padding:14px 40px;border-radius:99px;cursor:pointer;transition:opacity .2s}.send:hover{opacity:.85}
.contact-grid .cta{flex-direction:column}
.contact-grid .cta a{min-width:0;padding:24px;font-size:26px}
@media(max-width:800px){.contact-grid{grid-template-columns:1fr}.cform .frow{grid-template-columns:1fr}.about-btns{justify-content:flex-start}}
.contact-grid .cta a{border-radius:99px}
/* t44: turquoise About + Contact */
.about,.contact,footer{background:#147C84;color:#FFFFFF}
.about{padding-top:90px}
.about-copy h2,.contact h2,.about-copy p,footer,.cform label{color:#FFFFFF}
.about-cta,.send{background:#FFFFFF;color:#147C84}
.contact-grid .cta a{border-color:#FFFFFF;color:#FFFFFF}
.contact-grid .cta a:hover{background:#FFFFFF;color:#147C84}
.cform input,.cform textarea{border-color:#FFFFFF}
.cform input:focus,.cform textarea:focus{border-color:#083535}
.cform .bad{border-color:#ffb3a7;box-shadow:0 0 0 2px #ffb3a7}
.ferr{color:#ffe0db}
/* t45: hollow form fields, filled contact boxes */
.cform input,.cform textarea{background:transparent;color:#FFFFFF;border-color:#FFFFFF}
.cform input::placeholder,.cform textarea::placeholder{color:rgba(255,255,255,.7)}
.cform input:focus,.cform textarea:focus{border-color:#FFFFFF;box-shadow:0 0 0 2px rgba(255,255,255,.5)}
.contact-grid .cta a{background:#FFFFFF;color:#147C84;border-color:#FFFFFF}
.contact-grid .cta a:hover{background:transparent;color:#FFFFFF}
/* t46: footer contact details, no contact boxes, form success */
.contact-grid{grid-template-columns:minmax(0,640px)}
footer{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px}
footer .fcontact{display:flex;gap:24px;flex-wrap:wrap}
footer a{color:#FFFFFF;text-decoration:none}
footer a:hover{text-decoration:underline}
.fok{color:#FFFFFF;font-weight:700}
.send:disabled{opacity:.7;cursor:default}
/* t47: form full width */
.contact-grid{grid-template-columns:1fr}
/* t57: About text left-aligned */
.about-copy{text-align:start}.about-copy p{margin-inline-start:0}
.about-btns{justify-content:flex-start}
/* t58: About text left, photo right (desktop) */
@media(min-width:801px){
.about-photo{order:2}
.about-grid{align-items:center}
.about-copy{display:flex;flex-direction:column}
.about-copy .software-block{margin-top:0;padding-top:0}
}
/* t59: tighter project title, bold discipline */
.mbody h2{line-height:1.05}
.mbody>span{font-weight:700}

/* t68: year on the right, lightbox, zoomable images */
.mbody>span{font-weight:inherit}
.mmeta{display:flex;justify-content:space-between;align-items:baseline;gap:20px;color:#147C84}.mmeta b{font-weight:700}.mmeta i{font-style:normal;font-weight:700}
.mbody img{cursor:zoom-in}
.lb{position:fixed;inset:0;z-index:40;background:rgba(0,0,0,.92);display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .2s;cursor:zoom-out}.lb[hidden]{display:none}.lb.show{opacity:1}
.lb img{max-width:94vw;max-height:94vh;width:auto;height:auto;object-fit:contain;display:block;margin:0;cursor:default}
.lb button{position:absolute;background:none;border:0;color:#fff;cursor:pointer;font-family:inherit;line-height:1;opacity:.85}.lb button:hover{opacity:1}
.lbx{top:18px;right:24px;font-size:34px}.lbn{top:50%;transform:translateY(-50%);font-size:64px;padding:10px 18px}.lbp{left:10px}.lbnx{right:10px}
.lb.single .lbn{display:none}

/* t72: enlarge videos in the same lightbox; enlarge button on videos with controls */
.mbody video:not([controls]){cursor:zoom-in}
.mvid{position:relative;width:100%}
.mvid video{width:100%;height:auto;display:block;margin:0;background:#111;max-height:80vh}
.enlarge{position:absolute;top:10px;right:10px;z-index:2;width:40px;height:40px;padding:0;border:0;border-radius:8px;background:rgba(0,0,0,.55);color:#fff;cursor:zoom-in;display:flex;align-items:center;justify-content:center}
.enlarge:hover{background:rgba(0,0,0,.8)}
.enlarge svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.lb video{max-width:94vw;max-height:86vh;width:auto;height:auto;display:block;margin:0;cursor:default;background:#000}
.lb img[hidden],.lb video[hidden]{display:none!important}

/* t80: project rows always span the full modal width; images sit in cells so flex sizing is reliable */
.mrow{width:100%}
.mcell{min-width:0}
.mrow.c1 .mcell{width:100%}

/* t98/t104: language toggle and RTL */
html[dir="ltr"] .l.he,html[dir="rtl"] .l.en{display:none}
.nav-end{display:flex;align-items:center;gap:16px;flex-shrink:0}

.about-copy{text-align:start}
.x{right:auto;inset-inline-end:40px}
.lbx{right:auto;inset-inline-end:24px}
.lbp{left:auto;inset-inline-start:10px}
.lbnx{right:auto;inset-inline-end:10px}
.enlarge{right:auto;inset-inline-end:10px}
@media(max-width:700px){
.nav-end{gap:8px;flex-wrap:wrap;justify-content:flex-end}
.links{gap:8px;flex-wrap:wrap;justify-content:flex-end}
.links a{font-size:13px}.links button.ic.lang-ico{font-size:13px}
}
@media(max-width:400px){
.nav{padding:10px 3vw}
.links{gap:6px}
.links a{font-size:12px}.links button.ic.lang-ico{font-size:12px}
.ic svg{width:18px;height:18px}
}

/* t107–t110: custom cursors on fine pointers only; text fields stay I-beam; no magnifier */
@media (hover:hover) and (pointer:fine){
html{cursor:url("assets/cursor.png") 28 6,auto;cursor:-webkit-image-set(url("assets/cursor.png") 1x,url("assets/cursor@2x.png") 2x) 28 6,auto;cursor:image-set(url("assets/cursor.png") 1x,url("assets/cursor@2x.png") 2x) 28 6,auto}
html.cur-down{cursor:url("assets/cursor-click.png") 28 6,auto;cursor:-webkit-image-set(url("assets/cursor-click.png") 1x,url("assets/cursor-click@2x.png") 2x) 28 6,auto;cursor:image-set(url("assets/cursor-click.png") 1x,url("assets/cursor-click@2x.png") 2x) 28 6,auto}
html *,html.cur-down *{cursor:inherit!important}
html input:not([type=submit]):not([type=button]):not([type=reset]),html textarea,html select,html [contenteditable]{cursor:text!important}
html .off{cursor:not-allowed!important}
.software li:hover,.software li:focus-within{transform:translate(-4px,-4px)}
html[dir="rtl"] .software li:hover,html[dir="rtl"] .software li:focus-within{transform:translate(4px,-4px)}
}

#tip{position:fixed;z-index:4000;background:#14383B;color:#FFFFFF;font-size:12px;font-weight:600;letter-spacing:.01em;line-height:1.3;padding:6px 10px;border-radius:8px;pointer-events:none;white-space:nowrap;max-width:calc(100vw - 16px);box-shadow:0 4px 18px rgba(0,0,0,.22);overflow:hidden;text-overflow:ellipsis;opacity:1;visibility:visible;transition:opacity .2s ease,visibility .2s ease}
#tip[hidden]{display:block;opacity:0;visibility:hidden}
@media (hover:none) and (pointer:coarse){#tip{display:none!important}}

/* t189: keep the custom cursor on links/buttons (footer links included) */
@media (hover:hover) and (pointer:fine){
html a,html a *,html button,html button *,html [role=button],html label,html summary,footer a,footer a *{cursor:url("assets/cursor.png") 28 6,pointer!important;cursor:-webkit-image-set(url("assets/cursor.png") 1x,url("assets/cursor@2x.png") 2x) 28 6,pointer!important;cursor:image-set(url("assets/cursor.png") 1x,url("assets/cursor@2x.png") 2x) 28 6,pointer!important}
html.cur-down a,html.cur-down a *,html.cur-down button,html.cur-down button *,html.cur-down footer a{cursor:url("assets/cursor-click.png") 28 6,pointer!important;cursor:-webkit-image-set(url("assets/cursor-click.png") 1x,url("assets/cursor-click@2x.png") 2x) 28 6,pointer!important;cursor:image-set(url("assets/cursor-click.png") 1x,url("assets/cursor-click@2x.png") 2x) 28 6,pointer!important}
html .off{cursor:not-allowed!important}
}

/* t194: near the window edge browsers drop large custom cursors, so a DOM cursor takes over there */
#fakecur{position:fixed;left:0;top:0;width:64px;height:64px;z-index:99999;pointer-events:none;display:none;background:url("assets/cursor.png") 0 0/64px 64px no-repeat;will-change:transform}
#fakecur.down{background-image:url("assets/cursor-click.png")}
@media (hover:hover) and (pointer:fine){
html.cur-edge,html.cur-edge *,html.cur-edge a,html.cur-edge a *,html.cur-edge button,html.cur-edge button *,html.cur-edge footer a{cursor:none!important}
html.cur-edge #fakecur{display:block}
html.cur-edge input,html.cur-edge textarea{cursor:text!important}
}
