/* Main-site typography and real portfolio pixels in one straight device. */
:root{font-family:'Inter',system-ui,sans-serif;--disp:'Clash Display','Inter',sans-serif}
body{-webkit-font-smoothing:antialiased}
h1,h2,h3{font-family:var(--disp);font-weight:600;letter-spacing:-.02em;line-height:1.04}
[dir=rtl] body,[dir=rtl] h1,[dir=rtl] h2,[dir=rtl] h3,.language{font-family:'Alexandria','Inter',sans-serif}
.hero{grid-template-columns:1fr 1.15fr;gap:44px;padding-block:76px 82px;min-height:0}
.hero h1{font-size:clamp(2.85rem,4.65vw,4.7rem)}
.intro,.portfolio-showcase{min-width:0}.portfolio-showcase{margin:0;align-self:center}
.macbook-stage{padding:30px 0 32px;direction:ltr}.macbook-pro{position:relative;isolation:isolate;width:100%}
.macbook-pro::after{content:"";position:absolute;z-index:-1;left:5%;right:5%;height:18px;bottom:-15px;background:#0009;border-radius:50%;filter:blur(12px)}
.macbook-lid{position:relative;width:92%;margin:auto;padding:1.15% 1.1% 1.65%;border:1px solid #9096a0;border-radius:15px 15px 4px 4px;background:#08090b;box-shadow:inset 0 0 0 1px #30343a,0 0 0 1px #191c21}
.macbook-screen{position:relative;aspect-ratio:1.6;overflow:hidden;background:#17191d;border-radius:8px 8px 1px 1px;touch-action:pan-y}
.portfolio-slide{position:absolute;inset:0;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .55s ease,visibility .55s;outline-offset:-5px}
.portfolio-slide.is-active{opacity:1;visibility:visible;pointer-events:auto}
.portfolio-slide img{width:100%;height:100%;object-fit:contain;object-position:center}
.project-card .project-shot{aspect-ratio:1.6;object-fit:contain;background:#0e0e0e}
.project-card h3{align-items:center;min-height:68px;margin-bottom:16px}
.project-card .client-logo{width:auto;height:56px;max-width:180px;aspect-ratio:auto;object-fit:contain;object-position:left center;border-radius:0}
.project-card .logo-star,.project-card .logo-cmyh{width:172px;height:auto;max-height:56px}
.project-card .logo-badawi{height:62px}.project-card:hover .client-logo{opacity:1}
[dir=rtl] .project-card .client-logo{object-position:right center}
.macbook-notch{position:absolute;top:1.5%;left:44%;width:12%;height:4.2%;background:#08090b;border-radius:0 0 5px 5px;pointer-events:none}
.macbook-notch i{position:absolute;left:49%;top:24%;width:3px;height:3px;background:#1b273b;border-radius:50%;box-shadow:0 0 0 1px #14191f}
.macbook-hinge{width:91%;height:4px;margin:auto;background:linear-gradient(90deg,#292c32,#151619 15%,#151619 85%,#292c32)}
.macbook-base{position:relative;height:13px;border-radius:1px 1px 30px 30px / 1px 1px 10px 10px;background:linear-gradient(#d3d5d8,#9c9fa5 25%,#84888f 70%,#40444b);border-top:1px solid #e1e2e4;box-shadow:0 1px 0 #17191e}
.macbook-base span{position:absolute;top:-1px;left:42%;width:16%;height:5px;background:linear-gradient(90deg,#777b83,#a6a9af 45%,#777b83);border-radius:0 0 7px 7px;box-shadow:0 1px 0 #d7d8db66}
.portfolio-showcase figcaption{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:18px 0 0;margin:0 4%;border-top:1px solid var(--line)}
.showcase-caption{min-width:0}.showcase-kicker{display:block;color:var(--muted);font-size:.65rem;margin-bottom:5px}
.showcase-caption a{display:inline-flex;align-items:center;gap:12px;min-height:30px;font-weight:500;font-size:.85rem}.showcase-caption a:hover{color:var(--blue)}
.showcase-controls,.showcase-dots{display:flex;align-items:center;direction:ltr}
.showcase-controls{gap:4px}.showcase-controls button{display:grid;place-items:center;border:0;background:transparent;color:#a9aeb9;width:36px;min-height:44px;padding:0;border-radius:5px}
.showcase-dots button span{display:block;width:5px;height:5px;background:#707782;border-radius:50%;transition:background .2s,transform .2s}
.showcase-dots button[aria-pressed=true] span{background:var(--blue);transform:scale(1.4)}
.showcase-controls button:hover{background:#ffffff0c;color:#fff}.showcase-controls .play-icon{display:none}.showcase-controls.is-paused .play-icon{display:block}.showcase-controls.is-paused .pause-icon{display:none}
@media(max-width:1000px) and (min-width:701px){.hero{gap:24px;grid-template-columns:1fr 1fr}.hero h1{font-size:2.9rem}.portfolio-showcase figcaption{flex-wrap:wrap}.showcase-controls button{width:30px}}
@media(max-width:700px){
  .hero{display:flex;flex-direction:column;align-items:stretch;gap:0;padding-block:34px 48px}
  .intro{display:contents}.hero .eyebrow{order:1;font-size:.6rem;letter-spacing:.08em;margin-bottom:18px}
  .hero h1{order:2;font-size:clamp(2.35rem,9.3vw,3.3rem);margin-bottom:15px;line-height:1.07}
  .portfolio-showcase{order:7;width:100%;margin:26px 0 0}
  .macbook-stage{padding:8px 0 20px}.macbook-lid{border-radius:9px 9px 3px 3px}.macbook-screen{border-radius:4px 4px 1px 1px}.macbook-notch{border-radius:0 0 3px 3px}.macbook-notch i{width:2px;height:2px}.macbook-hinge{height:2px}.macbook-base{height:8px}.macbook-base span{height:3px}
  .portfolio-showcase figcaption{margin-inline:0;padding-top:10px;gap:8px}.showcase-kicker{font-size:.58rem;margin-bottom:2px}.showcase-caption a{font-size:.75rem;gap:7px;min-height:32px}.showcase-controls{gap:0;width:100%;justify-content:space-between}.showcase-controls button{width:40px;min-height:44px}
  .hero .lede{order:3;font-size:.91rem;line-height:1.6;margin-bottom:15px}.hero .price{order:4;margin:0;font-size:.91rem}.hero .actions{order:5;margin:18px 0 13px;gap:16px}.hero .small{order:6;margin:0;font-size:.72rem}
  [dir=rtl] .hero h1{font-size:2.4rem;line-height:1.3}
}
@media(prefers-reduced-motion:reduce){.portfolio-slide,.showcase-dots button span{transition:none}}
.enquiry-select{position:relative;margin-bottom:20px;min-width:0}.enquiry-select.is-open{z-index:3}
.select-trigger{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:52px;padding:12px 14px;text-align:start;border:1px solid #c9d0dc;border-radius:7px;background:#fff;color:#111;font-size:16px;line-height:1.5}
.select-trigger svg{flex-shrink:0;color:#647083;transition:transform .15s}.select-trigger[aria-expanded=true]{border-color:#3d66c4}.select-trigger[aria-expanded=true] svg{transform:rotate(180deg)}.select-trigger.is-placeholder{color:#677184}.select-trigger:hover{border-color:#8396b7}.select-trigger[aria-invalid=true]{border-color:#a11924}
.select-menu{position:absolute;z-index:5;inset-inline:0;top:calc(100% + 6px);padding:6px;background:#fff;border:1px solid #d5dce8;border-radius:9px;box-shadow:0 12px 30px #20354624;overflow-y:auto;overscroll-behavior:contain;scroll-padding:6px}
.opens-up .select-menu{top:auto;bottom:calc(100% + 6px)}
.select-menu [role=option]{position:relative;padding:12px 34px 12px 12px;border-radius:5px;font-size:.87rem;line-height:1.5;min-height:46px;cursor:pointer;color:#202938}
.select-menu [role=option]:hover,.select-menu [role=option].is-active{background:#f0f4fc}.select-menu [aria-selected=true]{color:#244eaa;background:#e8effd;font-weight:600}
.select-menu [aria-selected=true]::after{content:'';position:absolute;inset-inline-end:14px;top:19px;width:9px;height:5px;border-inline-start:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(-45deg)}
[dir=rtl] .select-menu [role=option]{padding:12px 12px 12px 34px}.select-error{margin:7px 0 0}

/* Buyer self-check between the offer and project examples. */
.site-check{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:28px 72px;padding-block:54px 62px;border-top:1px solid var(--line)}
.site-check .eyebrow{margin-bottom:16px}.site-check h2{font-size:clamp(2rem,3vw,3rem);max-width:560px;margin-bottom:16px}
.site-check-intro>p:last-child{font-size:.9rem;color:var(--muted);max-width:490px}
.site-check-list{list-style:none;margin:0;padding:0}.site-check-list li{display:flex;align-items:baseline;gap:20px;padding:18px 0;border-bottom:1px solid var(--line)}
.site-check-list li:first-child{border-top:1px solid var(--line)}.site-check-list li span{color:var(--blue);font:500 .7rem ui-monospace,monospace}.site-check-list li p{font-size:1rem;line-height:1.45;margin:0}
.site-check-cta{grid-column:2;display:inline-flex;align-items:center;gap:8px;width:fit-content;color:var(--blue);font-size:.84rem;text-decoration:underline;text-underline-offset:5px}
.site-check-cta:hover{color:#a3c0ff}
.site-check + .work{padding-top:64px}
.form-lead>p:not(.eyebrow),.form-details>p{max-width:410px;color:#4f5665;font-size:.93rem}

/* Keep the project action available after the hero scrolls away. */
.sticky-project-cta{position:fixed;inset-inline-end:24px;bottom:24px;z-index:30;display:inline-flex;align-items:center;justify-content:center;gap:18px;min-height:54px;padding:13px 22px;border:1px solid #a3c0ff;border-radius:6px;background:var(--blue);color:var(--ink);box-shadow:0 12px 34px #0009;font-size:.9rem;font-weight:700;line-height:1.2}
.sticky-project-cta:hover{background:#a3c0ff}.sticky-project-cta svg{flex:none}
body.consent-open .sticky-project-cta{display:none}

/* One first-visit choice screen. Optional scripts stay off until chosen. */
body.consent-open{overflow:hidden}
.consent{position:fixed;inset:0;z-index:100;display:grid;place-items:center;max-width:none;width:100%;padding:20px;background:#0e0e0e;color:var(--paper);border:0;border-radius:0;box-shadow:none;font-size:1rem;line-height:1.55;overflow-y:auto}
.consent-card{width:min(100%,600px);max-height:calc(100dvh - 40px);overflow:auto;padding:36px 40px;border:1px solid #39404e;border-radius:12px;background:#191c23;box-shadow:0 28px 90px #0008}
.consent>.consent-card{display:block}
.consent-top{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:34px}.consent-top img{width:112px;height:auto}.consent-top .language{flex:none;width:auto;min-height:44px;padding:8px 0;color:var(--paper);border:0;background:transparent}
.consent .consent-top .language{background:transparent;color:var(--paper)}
.consent .eyebrow{margin-bottom:12px}.consent h2{color:var(--paper);font-size:clamp(2rem,4vw,2.8rem);margin-bottom:16px}.consent p{color:#d5d8e0;margin-bottom:22px}
.consent-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:26px}.consent-actions button{flex:none;min-height:48px;padding:11px 18px;border:1px solid #687387;border-radius:5px;background:transparent;color:var(--paper);font-size:.86rem;font-weight:600}
.consent-actions .button{border-color:transparent;background:var(--blue);color:var(--ink)}.consent-actions .button:hover{background:#a3c0ff}.consent-actions button:not(.button):hover{border-color:#a3c0ff}
.consent .consent-actions button:last-child:not(.button){background:transparent;color:var(--paper)}
.consent-option{display:flex;align-items:flex-start;gap:14px;padding:17px 0;border-top:1px solid var(--line);margin:0;cursor:pointer}.consent-option input{flex:0 0 20px;width:20px;height:20px;min-height:20px;margin:4px 0 0;accent-color:var(--blue)}.consent-option span{display:block}.consent-option strong{display:block;font-size:.9rem}.consent-option small{display:block;color:var(--muted);font-size:.77rem;line-height:1.5;margin-top:3px}
.consent .consent-note{font-size:.72rem;color:var(--muted);line-height:1.5;margin:28px 0 0}.consent-note a{text-decoration:underline;text-underline-offset:3px}
@media(max-width:700px){
  .nav>div{gap:12px}.nav-cta{display:inline-flex;align-items:center;gap:4px;font-size:.72rem;white-space:nowrap}
  .site-check{display:block;padding-block:44px 52px}.site-check h2{font-size:2.1rem}.site-check-list{margin:26px 0 20px}.site-check-list li{padding:16px 0}.site-check-list li p{font-size:.91rem}.site-check-cta{font-size:.8rem}.site-check + .work{padding-top:48px}
  .form-intro{display:contents}.form-lead{order:1}.form-panel{order:2}.form-details{order:3}.form-lead h2{font-size:2.05rem;margin-bottom:12px}.form-lead>p:not(.eyebrow){max-width:none}.form-lead .form-price{margin:12px 0 0;padding-block:12px}.form-details .next-steps{margin-top:14px}.form-details .small{margin-bottom:0}
  .sticky-project-cta{inset-inline:12px;bottom:max(12px,env(safe-area-inset-bottom));min-height:56px;justify-content:space-between;padding-inline:20px;font-size:.95rem}
  .consent{inset:0;max-width:none;bottom:0;padding:12px;font-size:.9rem;line-height:1.5;box-shadow:none}
  .consent-card{max-height:calc(100dvh - 24px);padding:24px 21px}.consent-top{margin-bottom:20px}.consent h2{font-size:2rem;margin-bottom:11px}.consent p{margin-bottom:14px}
  .consent-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:20px}.consent-actions .button{grid-column:1/-1}.consent-actions button{min-height:46px;padding:9px 11px;font-size:.8rem}
  .consent .consent-note{margin-top:18px}
}
