/* Two isolated home-hero proposals. Existing site components retain their styles. */
:is(.hero-preview-page,.hero-selected-page) .shell{--hp-gutter:80px}
.hp-preview-nav{display:flex;align-items:center;gap:20px;flex-wrap:wrap;padding:14px 0;font-size:12px;line-height:1.5;color:var(--muted)}
.hp-preview-nav a{display:inline-flex;align-items:center;min-height:32px;text-decoration:underline;text-underline-offset:5px}
.hp-preview-nav [aria-current]{font-weight:700;color:var(--ink)}
.hp-hero{isolation:isolate;position:relative;margin:0;min-width:0}
.hp-hero *{box-sizing:border-box}
.hp-hero h1{font-family:var(--hebrew);font-weight:800;font-size:clamp(48px,5vw,72px);line-height:1.16;letter-spacing:-.035em;text-wrap:balance;margin:0}
.hp-intro{font-size:18px;line-height:1.85;max-width:48ch;text-wrap:pretty}
.hp-actions{display:flex;flex-wrap:wrap;align-items:center;gap:20px;margin-top:26px}
.hp-primary{display:inline-flex;align-items:center;justify-content:center;gap:22px;min-height:56px;border:0;border-radius:8px;padding:14px 22px;background:var(--lime);color:var(--ink);font-size:16px;font-weight:700;cursor:pointer;transition:background .2s,transform .2s;touch-action:manipulation}
.hp-primary svg{width:20px;height:20px;flex-shrink:0}
.hp-primary:hover{background:#e1ff87;transform:translateY(-2px)}
.hp-secondary{display:inline-flex;align-items:center;min-height:48px;font-size:14px;font-weight:500;text-decoration:underline;text-underline-offset:6px}
.hp-person{font-size:13px;line-height:1.7;margin-top:22px}
.hp-picker{display:flex;gap:8px;flex-wrap:wrap}
.hp-picker button{min-height:48px;padding:10px 18px;border:1px solid currentColor;border-radius:7px;background:transparent;color:inherit;font:500 13px/1.4 var(--english);cursor:pointer;transition:background .2s,color .2s;touch-action:manipulation}
.hp-picker button:hover{background:#ffffff1a}
.hp-picker button[aria-pressed=true]{background:var(--lime);color:var(--ink);border-color:var(--lime)}
.hp-hero :focus-visible{outline:3px solid var(--lime);outline-offset:5px}
.hp-editorial :focus-visible{outline-color:var(--forest)}
.hp-hero ::selection{background:var(--lime);color:var(--ink)}
.hp-window{display:block;overflow:hidden;background:var(--paper);border:5px solid #e9efe7;border-radius:12px;box-shadow:0 25px 60px #0005;min-width:0}
.hp-window img{display:block;width:100%;height:calc(100% - 24px);object-fit:cover;object-position:top;background:#e6ebdf}
.hp-browser{display:flex;align-items:center;gap:4px;height:24px;padding:0 9px;background:#e9efe7;color:#314d3a}
.hp-browser i{display:block;width:5px;height:5px;background:#849985;border-radius:50%}
.hp-browser span{margin-inline-start:auto;font:500 9px/1 var(--english)}
.hp-caption{display:flex;align-items:center;justify-content:space-between;gap:16px;line-height:1.6}
.hp-caption strong{font:700 24px/1.3 var(--english)}
.hp-caption>span{font-size:13px}
/* A: a dark, three-project gallery with depth responsive to the visitor. */
.hp-cinematic{background:#142d23;color:var(--paper);padding:56px 48px 40px;border-radius:20px;overflow:hidden}
.hp-a-layout{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:30px;align-items:center}
.hp-cinematic .hp-intro{color:#dbe6d8;margin-top:26px}
.hp-cinematic .hp-person{color:#c3d2c1}
.hp-copy,.hp-work{position:relative;min-width:0}
.hp-gallery{position:relative;height:470px;perspective:1100px;touch-action:pan-y;--hp-x:0;--hp-y:0}
.hp-wordmark{position:absolute;left:3%;top:5%;font:700 clamp(100px,15vw,210px)/1 var(--english);letter-spacing:-.04em;color:#d3f35b12;pointer-events:none}
.hp-gallery .hp-window{position:absolute;transition:transform .5s cubic-bezier(.16,1,.3,1);will-change:transform}
.hp-gallery .hp-front{inset:23% auto auto 6%;width:86%;height:62%;z-index:3;transform:translate(calc(var(--hp-x)*-6px),calc(var(--hp-y)*-6px)) rotate(-5deg)}
.hp-gallery .hp-back{top:0;right:0;width:55%;height:44%;z-index:1;transform:translate(calc(var(--hp-x)*5px),calc(var(--hp-y)*4px)) rotate(10deg)}
.hp-gallery .hp-near{bottom:0;left:0;width:49%;height:40%;z-index:4;transform:translate(calc(var(--hp-x)*4px),calc(var(--hp-y)*-5px)) rotate(6deg)}
.hp-gallery .hp-window:focus-visible{z-index:6;transform:none}
.hp-cinematic .hp-caption{margin:24px 0 18px;align-items:start}
.hp-cinematic .hp-caption>span{color:#cfddca;max-width:24ch}
.hp-swipe-hint{font-size:12px;line-height:1.6;color:#bdcfb9;margin-top:14px}
@media(hover:hover){.hp-gallery .hp-window:hover{z-index:5}}
/* B: a typographic opening followed by one large, inspectable project. */
.hp-editorial{padding:34px 0 12px}
.hp-editorial h1{font-size:clamp(58px,7.1vw,96px);line-height:1.08;letter-spacing:-.035em;max-width:1120px}
.hp-b-intro{display:flex;justify-content:space-between;align-items:start;gap:40px;border-top:1px solid var(--line);padding-top:22px;margin:28px 0}
.hp-b-intro .hp-actions{margin:0;flex-shrink:0}
.hp-b-intro .hp-intro{max-width:46ch;font-size:17px}
.hp-editorial .hp-primary{background:var(--forest);color:var(--paper)}
.hp-editorial .hp-primary:hover{background:#31523e}
.hp-b-stage{display:grid;grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr);min-height:370px;background:var(--forest);color:var(--paper);border-radius:18px;overflow:hidden}
.hp-project-story{padding:38px 36px;display:flex;flex-direction:column;align-items:start;justify-content:center;gap:20px;min-width:0}
.hp-project-story .hp-caption{display:flex;flex-direction:column;align-items:start;gap:8px}
.hp-project-story .hp-caption strong{font-size:clamp(32px,3.3vw,48px)}
.hp-project-story .hp-caption>span,.hp-project-context{color:#d6e3d1;font-size:14px;line-height:1.8}
.hp-project-context{max-width:32ch}
.hp-project-story>[data-hp-live]{display:inline-flex;align-items:center;gap:12px;min-height:44px;color:var(--lime);font-size:14px;text-decoration:underline;text-underline-offset:6px}
.hp-project-story>[data-hp-live] svg{width:16px;height:16px}
.hp-project-story .hp-picker{margin-top:8px;color:#dce8d7;gap:6px}
.hp-project-story .hp-picker button{padding:10px 12px;font-size:12px}
.hp-b-art{display:grid;place-items:center;min-width:0;overflow:hidden;padding:30px}
.hp-b-art .hp-window{width:100%;height:auto;transform:rotate(-3deg);transition:transform .3s}
.hp-b-art .hp-window img{height:auto;aspect-ratio:16/10}
.hp-b-art .hp-window:hover{transform:rotate(0)}
.hp-editorial .hp-person{color:var(--muted)}
@media(min-width:761px) and (max-width:1200px){:is(.hero-preview-page,.hero-selected-page) .shell{--hp-gutter:40px}.hp-cinematic{padding:40px 28px}.hp-gallery{height:380px}.hp-a-layout{gap:20px}.hp-hero h1{font-size:clamp(42px,5.1vw,62px)}.hp-intro{font-size:16px}.hp-b-intro{display:block}.hp-b-intro .hp-actions{margin-top:18px}.hp-project-story{padding:24px}.hp-b-art{padding:20px}.hp-editorial h1{font-size:clamp(58px,7.2vw,86px)}}
@media(min-width:761px) and (max-width:1000px){:is(.hero-preview-page,.hero-selected-page) .desktop-nav{display:none}:is(.hero-preview-page,.hero-selected-page) .header-cta{margin-inline-start:auto;margin-inline-end:22px}:is(.hero-preview-page,.hero-selected-page) .menu-toggle{display:flex;flex-direction:column;justify-content:center;gap:5px;width:44px;height:44px;background:none;border:0;padding:10px}:is(.hero-preview-page,.hero-selected-page) .menu-toggle span{width:24px;height:2px;background:var(--ink)}:is(.hero-preview-page,.hero-selected-page) .mobile-nav:not([hidden]){display:flex;flex-direction:column;padding:18px 0;gap:16px}.hp-a-layout{grid-template-columns:1fr}.hp-cinematic .hp-copy{max-width:650px}.hp-gallery{height:460px;max-width:610px;margin:auto}.hp-work{width:100%}.hp-b-stage{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}}
@media(max-width:760px){
:is(.hero-preview-page,.hero-selected-page) .shell{--hp-gutter:20px}
.hp-preview-nav{gap:8px 14px;font-size:11px;padding:8px 0 16px}
.hp-preview-nav>span{display:none}
.hp-hero h1{font-size:clamp(36px,9.5vw,58px);line-height:1.2;letter-spacing:-.03em}
.hp-intro{font-size:15px;line-height:1.8}
.hp-primary{font-size:14px;min-height:52px;width:100%;justify-content:space-between;padding:14px 18px}
.hp-actions{display:grid;gap:8px;margin-top:20px}
.hp-secondary{justify-content:center;min-height:42px;font-size:13px}
.hp-person{font-size:12px;line-height:1.7;margin-top:14px}
.hp-cinematic{margin-inline:calc(-1*var(--hp-gutter));padding:30px var(--hp-gutter) 28px;border-radius:0}
.hp-a-layout{grid-template-columns:1fr;gap:8px}
.hp-cinematic .hp-intro{margin-top:18px}
.hp-gallery{height:320px;max-width:480px;margin:10px auto 0}
.hp-gallery .hp-window{border-width:4px;border-radius:9px}
.hp-gallery .hp-front{left:7%;top:22%;width:84%;height:63%}
.hp-gallery .hp-back{width:48%;height:42%;right:3%}
.hp-gallery .hp-near{width:45%;height:38%;left:3%}
.hp-browser{height:19px;padding:0 6px}.hp-browser span{font-size:7px}.hp-browser i{height:4px;width:4px}
.hp-window img{height:calc(100% - 19px)}
.hp-cinematic .hp-caption{margin:22px 0 16px}.hp-caption strong{font-size:21px}.hp-caption>span{font-size:12px}
.hp-picker{gap:6px}.hp-picker button{flex:1;padding:10px 9px;font-size:12px;min-height:48px}
.hp-swipe-hint{font-size:11px}
.hp-editorial{padding:22px 0 8px}
.hp-editorial h1{font-size:clamp(43px,11.1vw,72px);line-height:1.13}
.hp-b-intro{display:block;margin:22px 0;padding-top:18px}
.hp-b-intro .hp-intro{font-size:15px;line-height:1.8}
.hp-b-intro .hp-actions{margin-top:20px}
.hp-b-stage{display:flex;flex-direction:column;min-height:0;border-radius:14px}
.hp-b-art{order:-1;padding:20px 22px 6px}
.hp-b-art .hp-window{border-width:4px;border-radius:8px;transform:none}
.hp-project-story{padding:22px;gap:13px}
.hp-project-story .hp-caption{gap:4px}.hp-project-story .hp-caption strong{font-size:31px}
.hp-project-story .hp-caption>span,.hp-project-context{font-size:13px}
.hp-project-story .hp-picker{width:100%;gap:6px;margin-top:4px}
.hp-project-story .hp-picker button{padding:10px 6px;font-size:11px}
}
@media(max-width:360px){:is(.hero-preview-page,.hero-selected-page) .shell{--hp-gutter:16px}.hp-gallery{height:300px}}
@media(prefers-reduced-motion:reduce){.hp-hero *{transition:none!important}.hp-gallery .hp-window{transform:none!important;will-change:auto}.hp-b-art .hp-window{transform:none!important}}
.motion-paused .hp-gallery .hp-window,.motion-paused .hp-b-art .hp-window{transform:none!important;transition:none;will-change:auto}
@media(hover:none){.hp-gallery .hp-window{will-change:auto}}

/* Keep the existing WhatsApp link in flow on proposal pages, clear of project controls. */
:is(.hero-preview-page,.hero-selected-page) .whatsapp-float{position:static;inset:auto;display:inline-flex;margin:24px 0}
