/* MADAR revision: genuine project assets, business photography and four-language controls. */
@font-face{font-family:Inter;src:url('../fonts/Inter-400.ttf') format('truetype');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:Inter;src:url('../fonts/Inter-500.ttf') format('truetype');font-style:normal;font-weight:500;font-display:swap}
@font-face{font-family:Inter;src:url('../fonts/Inter-600.ttf') format('truetype');font-style:normal;font-weight:600;font-display:swap}
@font-face{font-family:Inter;src:url('../fonts/Inter-700.ttf') format('truetype');font-style:normal;font-weight:700;font-display:swap}
img{display:block;max-width:100%;height:auto}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
.brand-name>.brand-primary{display:inline;font-size:inherit;line-height:inherit;letter-spacing:inherit;font-weight:inherit;margin:0}
html[dir=ltr] .brand-name>.brand-primary{display:inline}
html[dir=ltr] .brand-name>.brand-latin{display:none}
.hero h1>[data-i18n=c014]{color:var(--text)}
.hero h1>[data-i18n=c015]{color:var(--green)}
.language-control{display:flex;align-items:center;gap:6px;position:relative;flex-shrink:0}
.language-control>.icon{width:16px;height:16px;color:var(--green-dark)}
.language-select{font:inherit;font-size:10px;font-weight:500;border:0;background:transparent;color:var(--navy);min-height:44px;max-width:110px;padding:8px 3px;cursor:pointer;outline-offset:2px}
.language-select option{background:#fff;color:var(--text)}
.mobile-language{padding-block:20px;border-block-end:1px solid var(--border);margin-block-end:22px}
.mobile-language .language-control{justify-content:space-between}
.mobile-language .language-select{font-size:16px;max-width:none;min-width:160px}
.dash-metrics strong small{margin-inline-start:3px}
.business-ribbon{display:grid;gap:18px;margin-block-start:48px}
.business-ribbon-copy{padding-block:8px 14px;align-self:center}
.business-ribbon-copy .eyebrow{font-size:10px}
.business-ribbon-copy h2{font-size:23px;line-height:1.7;letter-spacing:-.5px;margin-block:13px}
.business-ribbon-copy p{font-size:12px;line-height:2;color:var(--muted);max-width:340px}
.business-ribbon-photo{position:relative;overflow:hidden;border-radius:9px;min-width:0;height:205px;background:var(--navy)}
.business-ribbon-photo>img{width:100%;height:100%;object-fit:cover;object-position:50% 58%}
.business-ribbon-secondary>img{object-position:50% 65%}
.workflow-overlay{display:flex;align-items:center;gap:9px;position:absolute;inset-inline:12px;bottom:12px;background:#fffffff5;border-inline-start:3px solid var(--green);padding:12px;color:var(--navy);box-shadow:0 5px 20px #07182816;border-radius:4px;font-size:9px;font-weight:500;line-height:1.9}
.workflow-overlay>.icon{width:18px;height:18px;color:var(--green-dark)}
.business-ribbon-secondary{display:none}
.hardware-media{min-width:0;display:grid;gap:8px}
.hardware-photograph{margin:0;position:relative;border-radius:8px;overflow:hidden;border:1px solid #8cbbaa;background:var(--navy)}
.hardware-photograph>img{width:100%;height:195px;object-fit:cover;object-position:50% 90%}
.hardware-photograph>figcaption{padding:11px 14px;color:#fff;background:var(--navy);font-size:9px;line-height:1.9}
.hardware-media .hardware-visual{min-height:156px;padding-block-end:27px}
.hardware-media .hardware-device{height:100px}
.hardware-media .hardware-device>.icon{width:43px;height:43px}
.hardware-media .hardware-hub{width:74px;height:78px}
.hardware-media .hardware-hub>.icon{width:25px;height:25px}
.industry-with-photo{padding:0 0 25px;overflow:hidden;min-height:345px}
.industry-with-photo .industry-number{position:absolute;top:13px;inset-inline-end:13px;z-index:1;background:#fffffff2;border-radius:3px;padding:3px 8px;color:var(--green-dark);font-weight:500}
.industry-photo{height:155px;order:-1;width:100%;margin-block-end:23px;background:var(--navy);overflow:hidden}
.industry-photo>img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.industry-with-photo:hover .industry-photo>img{transform:scale(1.035)}
.industry-with-photo h3,.industry-with-photo p{margin-inline:23px}
.industry-with-photo h3{font-size:18px}
.industry-with-photo p{max-width:none}
.process-photo{display:grid;margin-block-start:38px;border-radius:10px;overflow:hidden;background:var(--navy);color:#fff}
.process-photo>img{width:100%;height:200px;object-fit:cover;object-position:50% 45%}
.process-photo>div{padding:27px}
.process-photo h3{font-size:22px;line-height:1.7;font-weight:500}
.process-photo p{font-size:12px;color:#b5d8cc;line-height:2;margin-block-start:10px}
/* Existing portfolio card behavior is retained; all images now come from project materials. */
.portfolio>.container>.section-heading-row{align-items:flex-end}
.portfolio .section-heading{max-width:740px}
.portfolio .section-heading h2{font-size:clamp(30px,3.5vw,46px)}
.portfolio .demo-label{color:var(--green-dark);font-weight:500;max-width:225px;white-space:normal;line-height:1.9}
.real-project{display:flex;flex-direction:column;border-color:#becfc7;transition:box-shadow .25s ease,border-color .25s ease,transform .25s ease}
.real-project:hover,.real-project.is-selected{border-color:var(--green);box-shadow:0 18px 40px -28px #008b7270;transform:translateY(-3px)}
.project-visual{height:270px;position:relative;overflow:hidden;flex-shrink:0;background:#dcece5;border-block-end:1px solid #d4ded7}
.project-media-tag{position:absolute;bottom:12px;inset-inline-start:12px;max-width:calc(100% - 24px);padding:5px 9px;border:1px solid #cad9d0;background:#ffffffef;border-radius:4px;color:#314f41;font-size:7px;line-height:1.9;box-shadow:0 2px 7px #07182808}
.project-visual-sarrof{background:#0c253b}
.phone-showcase{height:100%;display:flex;align-items:center;justify-content:center;gap:12px;padding:18px 12px 34px;direction:ltr}
.phone-frame{height:220px;width:99px;border:4px solid #2c4052;border-radius:15px;overflow:hidden;background:#eef3ff;box-shadow:0 15px 30px #00000025}
.phone-frame:first-child{transform:rotate(-5deg) translateY(-4px)}
.phone-frame:last-child{transform:rotate(5deg) translateY(6px)}
.phone-frame>img{height:100%;width:100%;object-fit:cover}
.browser-showcase{margin:25px 20px 0;border:1px solid #b4c9bd;border-radius:7px 7px 0 0;overflow:hidden;background:#fff;box-shadow:0 12px 25px #07182818}
.browser-chrome{height:24px;display:flex;align-items:center;gap:4px;padding-inline:10px;background:#fff;border-block-end:1px solid #e2e9e4;direction:ltr}
.browser-chrome>i{width:4px;height:4px;border-radius:50%;background:#c4d2c8}
.browser-chrome>b{margin-inline-start:auto;font-family:Inter,Arial,sans-serif;font-size:6px;color:#66756b;font-weight:500;letter-spacing:.5px}
.browser-showcase>img{width:100%;height:auto;object-position:top}
.project-visual-govern{background:#dceee5}
.project-visual-chatshop{background:#dfe7fa}
.project-visual-chatshop .browser-showcase{border-color:#bdc9e3}
.project-visual-aqlim{background:#ebe1f5}
.project-visual-aqlim .browser-showcase{border-color:#ccbedf}
.project-visual-shampos{background:#0d2942;border-block-end-color:#183a56}
.identity-showcase{height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;padding-block-end:20px;color:#fff}
.identity-showcase>img{width:118px;height:118px;object-fit:contain;border-radius:10px}
.identity-showcase>strong{font-family:Inter,Arial,sans-serif;font-size:29px;font-weight:600;line-height:1.3;letter-spacing:-1px}
.identity-showcase>span{font-family:Inter,Arial,sans-serif;font-size:10px;letter-spacing:2px;color:#8fd8c4;margin-block-start:7px}
.project-visual-ess{background:#f5f8fa}
.catalog-showcase{display:grid;grid-template-columns:1fr 1fr;align-items:center;justify-items:center;gap:15px;height:100%;padding:30px 24px 45px}
.catalog-showcase>.ess-logo{width:100%;height:auto;max-width:165px}
.catalog-showcase>.ess-product{height:150px;width:150px;object-fit:contain;mix-blend-mode:multiply}
.catalog-showcase>span{grid-column:1/-1;font-family:Inter,Arial,sans-serif;font-size:10px;color:#376076;letter-spacing:1px}
.real-project .project-info{display:flex;align-items:stretch;flex-direction:column;flex:1;padding:24px;gap:0;min-height:340px}
.project-category{font-size:10px;font-weight:500;line-height:1.9;color:var(--green-dark);display:block;margin-block-end:9px}
.real-project .project-name{font-family:Inter,Arial,sans-serif;font-size:27px;font-weight:600;line-height:1.25;letter-spacing:-.7px;margin-block-end:14px;text-align:right}
html[dir=ltr] .real-project .project-name{text-align:left}
.real-project .project-info>p{font-size:12px;color:var(--muted);line-height:2;max-width:none;margin-block-end:18px}
.project-capabilities{display:grid;list-style:none;padding:0;margin:0;gap:8px}
.project-capabilities>li{display:flex;align-items:flex-start;gap:8px;font-size:10px;line-height:1.9;color:#455c50;min-width:0}
.project-capabilities>li>.icon{width:13px;height:13px;color:var(--green);margin-block-start:3px}
.project-card-bottom{display:flex;align-items:center;justify-content:space-between;gap:14px;border-block-start:1px solid var(--border);margin-block-start:auto;padding-block-start:18px}
.real-project .platform-badge{font-size:9px;margin:0;padding:4px 8px;line-height:1.8}
.real-project .project-open{display:inline-flex;align-items:center;gap:9px;width:auto;height:auto;min-height:44px;border:0;border-radius:0;padding:0;color:var(--green-dark);background:transparent;font-size:10px;font-weight:500}
.real-project .project-open>span{position:static;width:auto;height:auto;overflow:visible;clip-path:none;max-width:150px;text-align:start}
.real-project .project-open:hover{color:var(--navy);background:none}
.real-project .project-open>.icon{width:18px;height:18px}
.portfolio-disclaimer{font-size:10px;line-height:2.1;max-width:850px}
/* Project detail views keep source screenshots separate from localized explanatory copy. */
.project-modal-header>h2{font-family:Inter,Arial,sans-serif;letter-spacing:-1px;text-align:right}
html[dir=ltr] .project-modal-header>h2{text-align:left}
.project-modal-header .eyebrow{font-size:10px}
.project-details{padding-block-start:7px}
.project-detail-features{grid-column:1/-1}
.project-details .project-capabilities{grid-template-columns:1fr}
.project-details .project-capabilities>li{font-size:12px}
.project-visuals-heading{padding:0 24px 20px}
.project-visuals-heading h3{font-size:18px;color:var(--navy);margin-block-end:8px}
.project-visuals-heading p{font-size:10px;line-height:1.9;color:var(--muted)}
.project-gallery{display:grid;gap:20px;padding-inline:16px;padding-block-end:30px}
.project-gallery figure{margin:0;min-width:0;border:1px solid #d0dcd5;border-radius:7px;overflow:hidden;background:#fff}
.project-gallery img{width:100%;height:auto;margin-inline:auto}
.project-gallery figcaption{font-size:9px;color:#506a5c;line-height:1.9;border-block-start:1px solid var(--border);padding:12px;background:#f0f6f2}
.portrait-gallery{grid-template-columns:1fr 1fr;gap:10px}
.portrait-gallery figure>img{width:100%;height:auto}
.project-gallery img[src$="chatshop-mobile.webp"]{width:auto;max-height:680px}
.project-gallery img[src$="shampos-logo.webp"]{max-width:330px}
.project-gallery img[src$="ess-logo.webp"]{max-width:350px;padding:28px}
.project-gallery img[src$="ess-catalog.webp"]{max-width:380px}
.project-site-link{display:flex;align-items:center;flex-wrap:wrap;gap:10px;font-size:11px;color:var(--green-dark);min-height:44px}
.project-site-link>b{font:500 12px Inter,Arial,sans-serif;color:var(--navy)}
.project-site-link>.icon{width:17px;height:17px}
html[dir=ltr] .project-category{line-height:1.6}
html[dir=ltr] .project-capabilities>li,html[dir=ltr] .real-project .project-info>p{line-height:1.75}
html[dir=ltr] .business-ribbon-copy h2,html[dir=ltr] .process-photo h3{line-height:1.3;letter-spacing:-.02em}
html[dir=ltr] .business-ribbon-copy p{line-height:1.75}
@media(min-width:480px){
  .business-ribbon-photo{height:240px}
  .project-visual{height:330px}
  .phone-showcase{gap:22px;padding-block:20px 40px}
  .phone-frame{height:273px;width:124px;border-width:5px;border-radius:18px}
  .browser-showcase{margin:30px 30px 0}
  .browser-chrome{height:28px}
  .project-media-tag{font-size:8px;inset-inline-start:15px;bottom:15px}
  .identity-showcase>img{height:150px;width:150px}
  .identity-showcase>strong{font-size:34px}
  .catalog-showcase{padding-inline:35px}
  .catalog-showcase>.ess-product{height:200px;width:200px}
  .real-project .project-info{padding:28px;min-height:335px}
  .project-capabilities{grid-template-columns:1fr 1fr;gap:10px 16px;margin-block-end:20px}
  .project-gallery{padding-inline:24px}
}
@media(min-width:768px){
  .business-ribbon{grid-template-columns:1fr 1fr;gap:22px;margin-block-start:56px}
  .business-ribbon-copy{grid-column:1/-1;max-width:550px;padding-block-end:6px}
  .business-ribbon-copy h2{font-size:27px}
  .business-ribbon-copy p{max-width:520px}
  .business-ribbon-secondary{display:block}
  .business-ribbon-photo{height:215px}
  .hardware-photograph>img{height:175px}
  .hardware-photograph>figcaption{font-size:8px}
  .process-photo{grid-template-columns:1.2fr 1fr;align-items:center;margin-block-start:44px}
  .process-photo>img{height:250px}
  .process-photo>div{padding:32px}
  .process-photo h3{font-size:25px}
  .project-visual{height:280px}
  .phone-showcase{gap:15px}
  .phone-frame{height:232px;width:105px}
  .browser-showcase{margin:25px 22px 0}
  .project-media-tag{font-size:7px}
  .identity-showcase>img{width:125px;height:125px}
  .identity-showcase>strong{font-size:30px}
  .catalog-showcase{padding:27px 24px 42px;gap:12px}
  .catalog-showcase>.ess-product{width:140px;height:140px}
  .real-project .project-info{padding:27px;min-height:365px}
  .real-project .project-info>p{font-size:12px;min-height:72px}
  .project-capabilities{grid-template-columns:1fr;gap:7px}
  .project-visuals-heading{padding-inline:40px}
  .project-gallery{padding-inline:40px}
  .portrait-gallery{gap:25px;padding-inline:70px}
  .project-details .project-capabilities{grid-template-columns:1fr 1fr}
  .project-gallery figcaption{font-size:10px;padding:15px}
}
@media(min-width:1100px){
  .business-ribbon{grid-template-columns:.95fr 1.08fr .97fr;align-items:center;gap:24px;margin-block-start:50px}
  .business-ribbon-copy{grid-column:auto;padding-block:0}
  .business-ribbon-copy h2{font-size:25px}
  .business-ribbon-copy p{font-size:12px}
  .business-ribbon-photo{height:218px}
  .workflow-overlay{font-size:9px}
  .hardware-photograph>img{height:220px}
  .hardware-photograph>figcaption{font-size:9px}
  .process-photo{grid-template-columns:1.35fr 1fr;margin-block-start:58px}
  .process-photo>img{height:285px}
  .process-photo>div{padding:40px}
  .process-photo h3{font-size:30px}
  .process-photo p{font-size:13px}
  .portfolio .section-heading h2{font-size:45px}
  .project-visual{height:365px}
  .phone-showcase{gap:30px;padding-block:20px 40px}
  .phone-frame{height:304px;width:138px;border-width:5px;border-radius:19px}
  .browser-showcase{margin:34px 34px 0}
  .browser-chrome{height:30px;padding-inline:13px;gap:5px}
  .browser-chrome>i{width:5px;height:5px}
  .browser-chrome>b{font-size:8px}
  .project-media-tag{font-size:8px;bottom:15px;inset-inline-start:15px}
  .identity-showcase>img{height:165px;width:165px}
  .identity-showcase>strong{font-size:37px}
  .identity-showcase>span{font-size:11px}
  .catalog-showcase{padding:40px 45px 50px;gap:15px}
  .catalog-showcase>.ess-product{width:220px;height:220px}
  .catalog-showcase>.ess-logo{max-width:200px}
  .catalog-showcase>span{font-size:12px}
  .real-project .project-info{padding:32px;min-height:365px}
  .real-project .project-name{font-size:30px}
  .project-category{font-size:11px}
  .real-project .project-info>p{font-size:13px;line-height:2;min-height:65px}
  .project-capabilities{grid-template-columns:1fr 1fr;gap:9px 20px;margin-block-end:24px}
  .project-capabilities>li{font-size:11px}
  .real-project .project-open{font-size:11px;gap:14px}
  .project-card-bottom{padding-block-start:20px}
  .real-project .platform-badge{font-size:10px}
}
@media(max-width:479px){
  .header-actions{gap:6px}
  .language-control{gap:3px}
  .language-control>.icon{width:13px;height:13px}
  .language-select{max-width:94px;font-size:9px}
  .business-ribbon-copy h2{font-size:23px}
  .real-project .project-info{padding:23px 20px}
  .real-project .project-info>p{font-size:13px}
  .project-category{font-size:10px}
  .project-capabilities{margin-block-end:20px}
  .project-capabilities>li{font-size:11px}
  .project-card-bottom{gap:10px}
  .real-project .project-open>span{max-width:130px}
  .portfolio .section-heading-row{display:block}
  .portfolio .demo-label{margin-block-start:20px;max-width:none}
  .project-media-tag{font-size:7px}
  .catalog-showcase{padding-inline:19px;gap:10px}
  .catalog-showcase>.ess-product{width:130px;height:130px}
  .project-modal-header>h2{font-size:28px}
}
@media(prefers-reduced-motion:reduce){
  .real-project:hover,.real-project.is-selected,.industry-with-photo:hover .industry-photo>img{transform:none}
}
/* Source media inside the retained device cards. */
.catalog-showcase{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.catalog-showcase>*{min-width:0;max-width:100%}
.device-with-image{isolation:isolate;background:#e4f1ea;min-width:0}
.device-with-image::before,.device-with-image::after{display:none}
.platform-browser{width:82%;height:85px;border:1px solid #8eac9b;border-radius:5px;background:#fff;overflow:hidden;box-shadow:0 6px 10px #0b332813}
.platform-browser>i{display:block;height:10px;border-block-end:1px solid #d7e3da;background:#fff}
.platform-browser>img{width:100%;height:auto}
.platform-phone{width:48px;height:105px;border:3px solid #173548;background:#fff;border-radius:9px;overflow:hidden;transform:rotate(-6deg);box-shadow:0 7px 12px #07182822}
.platform-phone>img{height:100%;width:100%;object-fit:cover}
.platform-monitor{width:78%;height:77px;position:relative;border:4px solid #173548;border-block-end-width:8px;border-radius:4px;background:#fff;margin-block-end:12px;box-shadow:0 6px 10px #07182812}
.platform-monitor>img{height:100%;width:100%;object-fit:cover;object-position:top}
.platform-monitor>i{position:absolute;inset-inline:30%;bottom:-19px;height:12px;border-block-end:3px solid #173548;background:linear-gradient(90deg,transparent 40%,#173548 40%,#173548 60%,transparent 60%)}
.platform-hardware-photo{height:100%;width:100%}
.platform-hardware-photo>img{height:100%;width:100%;object-fit:cover;object-position:50% 82%}
html[dir=ltr] .dash-metrics em{white-space:normal;line-height:1.7}
html[dir=ltr] .dash-metrics em i{display:block;margin-inline:0;white-space:normal}
@media(min-width:1100px){
  .platform-browser{height:100px}
  .platform-phone{height:125px;width:57px}
  .platform-monitor{height:90px}
}
