@font-face{font-family:Inter;src:url('inter-bold.ttf') format('truetype');font-style:normal;font-weight:700 800;font-display:swap}
:root{font-family:Arial,sans-serif;color:#111;background:#f0f0f0;color-scheme:light}
*{box-sizing:border-box}
body{margin:0;line-height:1.6}
body.modal-open{overflow:hidden}
main{max-width:1640px;margin:0 auto;padding:clamp(24px,4.4vw,72px)}
.page-header{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:36px}
h1,h2,h3{font-family:Inter,Arial,sans-serif;font-weight:700;color:#000}
h1{font-size:clamp(25px,3vw,40px);line-height:1.2;letter-spacing:-.035em;margin:0}
a{color:inherit;text-underline-offset:4px}
.page-header a{font-size:14px;text-decoration:none}
.page-header a:hover{text-decoration:underline}
.gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.tile{min-width:0}
.project-window{width:100%;display:block;padding:0;text-align:inherit;color:inherit;font:inherit;border:1px solid #ccc;border-radius:12px;overflow:hidden;background:#fff;cursor:pointer;transition:transform 220ms ease,border-color 220ms ease}
.project-window:hover{transform:translateY(-4px);border-color:#858585}
.titlebar{height:36px;display:flex;align-items:center;gap:12px;padding:0 14px;background:#e9e9e9;border-bottom:1px solid #d0d0d0;font:12px Arial,sans-serif;color:#333}
.titlebar>span:nth-child(2){margin-left:auto}
.dots{display:flex;gap:5px}
.dots i{display:block;width:7px;height:7px;border-radius:50%;background:#b2b2b2}
.logo-area{display:flex;align-items:center;justify-content:center;gap:14px;min-height:250px;aspect-ratio:1.45;background:#fff;padding:36px}
.logo-area img{display:block;width:clamp(74px,9vw,132px);height:clamp(74px,9vw,132px);object-fit:contain}
.logo-area[data-name="PortWatch"]{flex-wrap:wrap}
.logo-area[data-name="Maw3ad"] img{width:180px;height:180px;max-width:90%}
.logo-area[data-name="Sambousik"] img{width:170px;height:170px;max-width:90%}
.logo-area[data-name="Flux"]{background:#0b0d10;color:white}
.logo-area[data-name="Flux"] img{width:60px;height:60px}
.brand-wordmark{font-family:Inter,Arial,sans-serif;font-weight:800;font-size:clamp(28px,3vw,46px);letter-spacing:-.04em}
.dawle-wordmark{text-align:center;line-height:1.2}
.dawle-wordmark small{display:block;font:24px Arial,sans-serif;color:#777;margin-top:10px}
:focus-visible{outline:3px solid #222;outline-offset:5px}
::selection{background:#222;color:white}
.detail-window{position:fixed;inset:0;margin:auto;width:min(1040px,calc(100vw - 48px));max-height:calc(100dvh - 48px);padding:0;border:1px solid #bbb;border-radius:12px;overflow:hidden;background:#fff;color:#111}
.detail-window::backdrop{background:rgba(0,0,0,.28)}
.detail-window .titlebar{height:40px;flex-shrink:0}
.detail-window #detail-title{margin-right:8px}
.close{display:grid;place-items:center;width:28px;height:28px;flex-shrink:0;border:0;border-radius:5px;background:transparent;color:#222;cursor:pointer}
.close:hover{background:#d4d4d4}
.close svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5}
.detail-scroll{max-height:calc(100dvh - 90px);overflow-y:auto;overscroll-behavior:contain;scrollbar-color:#aaa #eee;scrollbar-width:thin}
.detail-layout{display:grid;grid-template-columns:40% 60%;min-height:480px}
.detail-logo{background:#fafafa;border-right:1px solid #ddd;display:flex;align-items:center;justify-content:center}
.detail-logo .logo-area{width:100%;height:100%;aspect-ratio:auto;background:transparent;min-height:300px;flex-wrap:wrap}
.detail-logo:has([data-name="Flux"]){background:#0b0d10}
.detail-logo .logo-area img{width:140px;height:140px}
.detail-logo .logo-area[data-name="Flux"] img{width:60px;height:60px}
.detail-info{padding:40px;min-width:0}
h2{font-size:32px;line-height:1.2;letter-spacing:-.03em;margin:0 0 10px}
.subtitle{margin:0 0 22px;color:#555;font-size:16px}
.actions{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:28px}
.actions a{display:inline-block;border:1px solid #111;border-radius:999px;padding:9px 17px;font-size:13px;text-decoration:none}
.actions .primary{background:#111;color:#fff}
.actions a:hover{background:#e7e7e7;color:#111}
.explanation{font-size:15px;line-height:1.7;color:#444;margin:0 0 26px;max-width:65ch}
h3{font-size:15px;margin:24px 0 8px}
.features{padding-left:20px;color:#444;font-size:14px;margin:0}
.features li{margin-bottom:7px}
.technologies{font-size:14px;color:#555;margin:0;line-height:1.8}
@media(max-width:899px){.gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-info{padding:30px}.detail-layout{grid-template-columns:38% 62%}.detail-logo .brand-wordmark{font-size:32px}}
@media(max-width:559px){.gallery{grid-template-columns:1fr}.page-header{align-items:baseline;gap:12px}.page-header a{font-size:12px}h1{font-size:25px}.logo-area{min-height:240px}.logo-area img{width:112px;height:112px}.detail-window{width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}.detail-scroll{max-height:calc(100dvh - 66px)}.detail-layout{display:block}.detail-logo{border-right:0;border-bottom:1px solid #ddd}.detail-logo .logo-area{min-height:220px;padding:24px}.detail-info{padding:26px}h2{font-size:28px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.project-window:hover{transform:none}}
