#hegazy-preview .hp-nazil{padding-block:40px}
#hegazy-preview .hp-nazil-shell{max-width:1180px;margin:auto;padding:30px;border:2px solid var(--hp-ink,#252c26);border-radius:28px;background:var(--hp-surface,#fffdf8);box-shadow:-4px 6px 0 var(--hp-ink,#252c26)}
#hegazy-preview .hp-nazil-heading{text-align:center;margin:auto auto 28px;max-width:620px}
#hegazy-preview .hp-nazil-kicker{font-size:15px;color:var(--hp-muted);margin:0 0 14px}
#hegazy-preview .hp-nazil-logo{width:64px;height:64px;border-radius:18px;display:block;margin:auto}
#hegazy-preview .hp-nazil h2{font-size:42px;margin:8px 0}
#hegazy-preview .hp-nazil-heading>p{line-height:1.7}
#hegazy-preview .hp-nazil-heading>small{display:block;margin-top:14px;font-size:12px;opacity:.75}
#hegazy-preview .hp-nazil-download{position:relative;isolation:isolate;overflow:hidden;display:inline-flex;align-items:center;gap:16px;padding:13px 24px;border:2px solid #252c26;border-radius:999px;background:#f2b494;color:#252c26;font-weight:700;text-decoration:none;box-shadow:-3px 4px 0 #252c26;transition:transform .2s,box-shadow .2s}
#hegazy-preview .hp-nazil-download svg{width:25px;height:25px;flex:none}
#hegazy-preview .hp-nazil-download:after{content:'';position:absolute;inset:-50%;background:linear-gradient(110deg,transparent 40%,#ffffff80 50%,transparent 60%);transform:translateX(-100%);animation:nazil-shine 7s ease-in-out infinite;pointer-events:none;z-index:-1}
#hegazy-preview .hp-nazil-arrow{animation:nazil-download 3.5s ease-in-out infinite}
#hegazy-preview .hp-nazil-download:hover{transform:translateY(-3px);box-shadow:-4px 7px 0 #252c26}
#hegazy-preview .hp-nazil :focus-visible{outline:3px solid #729eae;outline-offset:6px}
#hegazy-preview .hp-nazil-gallery{display:flex;gap:24px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;padding:8px 8px 18px;scrollbar-width:thin;scrollbar-color:#f2b494 transparent;justify-content:center}
#hegazy-preview .hp-nazil-gallery figure{flex:0 0 220px;margin:0;scroll-snap-align:center}
#hegazy-preview .hp-nazil-gallery img{display:block;width:100%;height:auto;aspect-ratio:1/2;object-fit:cover;border:6px solid #252c26;border-radius:28px;background:#131610;box-shadow:0 6px 0 #252c2625}
#hegazy-preview .hp-nazil-gallery figcaption{text-align:center;font-size:14px;margin-top:15px}
#hegazy-preview .hp-nazil-hint{text-align:center;font-size:12px;opacity:.7;margin:6px 0 0}
@keyframes nazil-download{0%,65%,100%{transform:translateY(0)}75%{transform:translateY(3px)}85%{transform:translateY(0)}93%{transform:translateY(2px)}}
@keyframes nazil-shine{0%,75%{transform:translateX(-100%)}95%,100%{transform:translateX(100%)}}
@media(max-width:800px){#hegazy-preview .hp-nazil-shell{padding:24px 12px}#hegazy-preview .hp-nazil-gallery{justify-content:flex-start;gap:18px}#hegazy-preview .hp-nazil-gallery figure{flex-basis:210px}#hegazy-preview .hp-nazil-heading{padding-inline:12px}#hegazy-preview .hp-nazil h2{font-size:36px}}
@media(prefers-reduced-motion:reduce){#hegazy-preview .hp-nazil-download:after,#hegazy-preview .hp-nazil-arrow{animation:none}#hegazy-preview .hp-nazil-download{transition:none}#hegazy-preview .hp-nazil-gallery{scroll-behavior:auto}}
/* Paired project cards and illustrated Nazil features. */
#hegazy-preview .hp-project-pair{display:grid;grid-template-columns:1fr 1fr;gap:26px;max-width:1320px;margin:40px auto;padding:0 18px;align-items:stretch}
#hegazy-preview .hp-project-pair>.hp-section{min-width:0;padding:0;margin:0}
#hegazy-preview .hp-project-pair .hp-nazil-shell,#hegazy-preview .hp-project-pair .hp-carbon-shell{height:100%;padding:26px 20px;border-radius:28px;box-sizing:border-box;display:flex;flex-direction:column}
#hegazy-preview .hp-nazil-heading{width:100%;margin-bottom:20px}
#hegazy-preview .hp-nazil-kicker,#hegazy-preview .hp-project-pair .hp-carbon-title{display:flex;align-items:center;justify-content:center;gap:12px;width:max-content;max-width:100%;margin:0 auto 28px;padding:12px 22px;border:2px solid var(--hp-ink);border-radius:999px;background:#f2b494;color:#252c26;font:800 clamp(23px,2.3vw,32px)/1.3 Beiruti,sans-serif;box-shadow:-4px 5px 0 var(--hp-ink)}
#hegazy-preview .hp-nazil-kicker>span{font-size:24px;transition:transform .3s}
#hegazy-preview .hp-nazil-kicker:hover>span{transform:translate(3px,-3px) rotate(8deg)}
#hegazy-preview #hp-nazil-title{font-size:32px;margin:8px 0}
#hegazy-preview .hp-nazil-heading>p{font-size:15px;margin:8px 0 16px}
#hegazy-preview .hp-project-pair .hp-carbon-heading{display:block;text-align:center;margin-bottom:24px}
#hegazy-preview .hp-project-pair .hp-carbon-copy{max-width:none}
#hegazy-preview .hp-project-pair .hp-carbon-intro{font-size:15px;line-height:1.7}
#hegazy-preview .hp-project-pair .hp-carbon-frame{margin-block:auto}
#hegazy-preview .nazil-marquee{overflow:hidden;direction:ltr;border-radius:20px;margin-top:auto;background:#e9eddf;border:1px solid #252c2630}
#hegazy-preview .nazil-belt{display:flex;width:max-content;animation:nazil-belt 24s linear infinite}
#hegazy-preview .nazil-set{display:flex;gap:12px;padding:12px 6px}
#hegazy-preview .nazil-feature{width:220px;flex:none;border:1px solid #252c2640;border-radius:16px;background:#fffdf8;color:#252c26;padding:16px;box-sizing:border-box;text-align:start;direction:rtl}
html[lang=en] #hegazy-preview .nazil-feature{direction:ltr}
#hegazy-preview .nazil-feature h4{font:800 24px/1.3 Beiruti,sans-serif;margin:16px 0 6px}
#hegazy-preview .nazil-feature p{font-size:13px;line-height:1.6;margin:0}
#hegazy-preview .nazil-art{height:125px;display:flex;flex-direction:column;justify-content:center;gap:16px;background:#202820;color:#c9f342;border-radius:12px;padding:12px;direction:ltr}
#hegazy-preview .nazil-link{background:#ffffff10;border:1px solid #c9f34260;padding:9px;border-radius:9px;font-size:14px;display:flex;justify-content:space-between}
#hegazy-preview .nazil-types{display:flex;justify-content:space-around;font-size:26px;text-align:center}
#hegazy-preview .nazil-types small{display:block;font-size:10px;color:#fffdf8}
#hegazy-preview .nazil-folders{display:grid;gap:7px}.nazil-folders span{background:#ffffff10;border-radius:8px;padding:6px 12px}.nazil-folders b{font-size:12px;margin-inline:12px;color:#fffdf8}
#hegazy-preview .nazil-settings{display:grid;gap:14px;font-size:12px}.nazil-settings i{height:4px;width:90%;background:linear-gradient(to right,#c9f342 65%,#ffffff30 65%);border-radius:5px}.nazil-settings i:nth-child(3){width:70%}
#hegazy-preview .nazil-pause{align-self:center;border:0;background:transparent;color:var(--hp-ink);padding:12px;font:inherit;font-size:12px;cursor:pointer}
#hegazy-preview .nazil-marquee:hover .nazil-belt,#hegazy-preview .nazil-marquee:focus-within .nazil-belt,#hegazy-preview .hp-nazil-shell.is-paused .nazil-belt{animation-play-state:paused}
@keyframes nazil-belt{to{transform:translateX(-50%)}}
@media(max-width:900px){#hegazy-preview .hp-project-pair{grid-template-columns:1fr;gap:30px;padding-inline:14px}#hegazy-preview .hp-project-pair .hp-nazil-shell,#hegazy-preview .hp-project-pair .hp-carbon-shell{padding:24px 14px}#hegazy-preview .hp-nazil-kicker,#hegazy-preview .hp-project-pair .hp-carbon-title{font-size:27px}}
@media(prefers-reduced-motion:reduce){#hegazy-preview .nazil-belt{animation:none}#hegazy-preview .nazil-marquee{overflow-x:auto}#hegazy-preview .nazil-set[aria-hidden]{display:none}#hegazy-preview .nazil-pause{display:none}}
#hegazy-preview .hp-nazil-heading{display:flex;flex-direction:column;align-items:center;text-align:center;max-width:none}
#hegazy-preview .hp-nazil-heading .hp-nazil-kicker{align-self:center;margin-inline:auto!important;text-align:center;justify-content:center}
#hegazy-preview .nazil-feature.nazil-poster{width:300px;padding:0;border:0;overflow:hidden;background:#0c1512}
#hegazy-preview .nazil-poster img{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:contain}
#hegazy-preview .nazil-belt{animation-duration:40s}
@media(max-width:600px){#hegazy-preview .nazil-feature.nazil-poster{width:260px}}
#hegazy-preview .hp-project-pair .hp-carbon-picture{aspect-ratio:3/2;background:#f7f2fa}
#hegazy-preview .hp-project-pair .hp-carbon-picture img{width:100%;height:100%;object-fit:contain;object-position:center}
#hegazy-preview .hp-project-pair .hp-carbon-dots{flex-wrap:wrap;gap:5px}
/* Size each slide against its frame, not the viewport or the paired column. */
#hegazy-preview .hp-carbon-track{width:100%;min-width:0}
#hegazy-preview .hp-carbon-slide{flex:0 0 100%;width:100%;min-width:0;box-sizing:border-box;border:0;border-radius:0;box-shadow:none}
#hegazy-preview .hp-project-pair .hp-carbon-picture{aspect-ratio:10/7}
#hegazy-preview .hp-project-pair .hp-carbon-picture img{object-fit:contain}
#hegazy-preview .hp-website-icon{width:52px;height:52px;flex:none;object-fit:contain;background:#fff;border-radius:10px}
#hegazy-preview .hp-website-panel>.hp-carbon-visit{margin-top:18px}
#hegazy-preview .hp-project-pair{grid-template-columns:minmax(0,1fr)}
#hegazy-preview .hp-project-pair .hp-nazil-split .hp-nazil-shell{display:grid;grid-template-columns:minmax(220px,1fr) minmax(0,3fr);gap:24px;align-items:center;padding:22px}
#hegazy-preview .hp-nazil-summary{display:flex;flex-direction:column;align-items:flex-start;gap:16px;padding:10px;text-align:start}
#hegazy-preview .hp-nazil-eyebrow{font-size:14px;color:var(--hp-muted)}
#hegazy-preview .hp-nazil-summary p{font:700 clamp(22px,2.3vw,30px)/1.5 Beiruti,sans-serif;margin:0}
#hegazy-preview .hp-nazil-summary small{font-size:12px;color:var(--hp-muted)}
#hegazy-preview .hp-nazil-banner{display:block;min-width:0}
#hegazy-preview .hp-nazil-banner img{display:block;width:100%;height:auto;border-radius:18px}
@media(max-width:700px){#hegazy-preview .hp-project-pair .hp-nazil-split .hp-nazil-shell{grid-template-columns:minmax(0,1fr);gap:16px;padding:14px}#hegazy-preview .hp-nazil-summary{align-items:center;text-align:center}#hegazy-preview .hp-nazil-banner img{aspect-ratio:1122/1402;object-fit:contain}#hegazy-preview .hp-carbon-controls{grid-template-columns:auto 1fr}#hegazy-preview .hp-carbon-count{grid-column:1/-1;text-align:center}}
