:root{
  --ink:#1a1a1a;
  --white:#fff;
  --muted:#333;
  --desktop-pad:120px;
  --tablet-pad:48px;
  --mobile-pad:20px;
  --h1:56px;
  --h2:24px;
  --body:18px;
  --radius:12px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:100px;background:var(--ink)}
body{margin:0;font-family:"Assistant",Arial,sans-serif;color:var(--ink);background:#fff;font-size:var(--body);line-height:1.35}
a{color:inherit;text-decoration:none}
button,input{font:inherit}
button{cursor:pointer}
img{display:block;max-width:100%}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.content-width{width:min(1200px,calc(100% - 240px));margin-inline:auto}
.centered{text-align:center}
.relative{position:relative;z-index:1}
.section{position:relative;overflow:hidden}
.section.dark{background:var(--ink);color:#fff;padding:78px 0}
.section.light{background:#fff;color:var(--ink);padding:78px 0 87px}
.section-title{font-size:var(--h1);font-weight:200;line-height:1;margin:0}
.light-title{color:#fff}
.divider{width:min(720px,60%);height:3px;margin:28px auto 22px;background:linear-gradient(90deg,transparent 0 17%,currentColor 17% 48%,transparent 48% 52%,currentColor 52% 83%,transparent 83%)}
.divider.light{color:#fff}
.divider.dark-line{color:var(--ink)}
.lead{margin:0 auto;max-width:1200px;text-align:center}
.site-header{height:84px;background:var(--ink);color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 32px;position:fixed;inset:0 0 auto 0;z-index:1000}
.logo{width:60px;height:42px;display:flex;align-items:center}
.logo img{width:100%;height:100%;object-fit:contain}
.desktop-nav{display:flex;gap:28px;font-weight:600}
.desktop-nav a{font-size:18px;transition:opacity .2s ease}
.desktop-nav a:hover{opacity:.7}
.header-contact,.outline-button,.submit-button{border:1px solid #fff;border-radius:15px;background:transparent;color:#fff;display:inline-flex;align-items:center;justify-content:center}
.header-contact{width:150px;height:36px;font-weight:600}
.menu-toggle{display:none;width:44px;height:44px;border:1px solid rgba(255,255,255,.5);border-radius:12px;background:transparent;position:relative}
.menu-toggle span{position:absolute;right:9px;width:24px;height:1.5px;background:rgba(255,255,255,.95);border-radius:2px}
.menu-toggle span:nth-child(1){top:12.5px}.menu-toggle span:nth-child(2){top:20.25px;width:18px}.menu-toggle span:nth-child(3){top:28px}
.mobile-menu{position:fixed;inset:0;z-index:1200;background:rgba(26,26,26,.8);color:#fff;overflow-x:hidden;overflow-y:auto;opacity:0;transition:opacity .45s ease}
.mobile-menu.is-open{opacity:1}
.mobile-menu-plane{position:absolute;right:-32%;top:-15%;width:72%;height:135%;background:#1a1a1a;transform:skewX(-18deg) translateX(45%);transition:transform .45s cubic-bezier(.2,.8,.2,1)}
.mobile-menu.is-open .mobile-menu-plane{transform:skewX(-18deg) translateX(0)}
.mobile-menu-top{position:relative;z-index:2;display:flex;justify-content:space-between;align-items:center;padding:20px}
.mobile-menu-logo{width:48px;height:34px;object-fit:contain}
.menu-close{width:44px;height:44px;border:0;background:transparent;color:#fff;font-size:36px;line-height:1}
.mobile-menu nav{position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;gap:14px;margin-top:125px}
.mobile-menu nav a{font-size:24px;font-weight:600;opacity:0;transform:translateY(12px);transition:opacity .25s ease,transform .25s ease}
.mobile-menu.is-open nav a{opacity:1;transform:none}
.mobile-menu.is-open nav a:nth-child(1){transition-delay:.06s}.mobile-menu.is-open nav a:nth-child(2){transition-delay:.1s}.mobile-menu.is-open nav a:nth-child(3){transition-delay:.14s}.mobile-menu.is-open nav a:nth-child(4){transition-delay:.18s}.mobile-menu.is-open nav a:nth-child(5){transition-delay:.22s}.mobile-menu.is-open nav a:nth-child(6){transition-delay:.26s}.mobile-menu.is-open nav a:nth-child(7){transition-delay:.3s}
.hero{background:var(--ink);color:#fff;padding-top:84px;min-height:650px;overflow:hidden}
.hero-inner{height:566px;position:relative;max-width:1440px;margin:0 auto;background:var(--ink)}
.hero-copy{position:absolute;left:7.3%;top:90px;width:47%;height:300px;text-align:right;direction:rtl}
.hero-stage{position:absolute;inset:0;opacity:0;transform:translateY(12px);transition:opacity .55s ease,transform .55s ease;pointer-events:none}
.hero-stage.is-active{opacity:1;transform:none;pointer-events:auto}
.hero-display{font-size:56px;font-weight:200;line-height:1.1;margin:0 0 12px}
.hero-brand{font-weight:600}
.hero-stage h2{font-size:24px;font-weight:400;line-height:1.2;margin:0 0 12px}
.hero-stage p{font-size:18px;margin:0;line-height:1.35}
.hero-more{position:absolute;left:7.3%;top:410px;width:308px;height:48px;font-weight:600}
.hero-portrait{position:absolute;right:4.2%;top:0;width:475px;height:590px;overflow:hidden}
.hero-portrait img{width:100%;height:100%;object-fit:contain;object-position:center bottom}
.stats{margin:22px auto 0;width:min(817px,100%);display:grid;grid-template-columns:repeat(3,1fr);border:4px solid #fff;border-radius:15px;overflow:hidden;background:linear-gradient(90deg,rgba(201,201,201,.3),rgba(255,255,255,.3),rgba(186,186,186,.3),rgba(255,255,255,.3),rgba(201,201,201,.3));backdrop-filter:blur(2.5px)}
.stats article{padding:28px 20px;display:flex;gap:8px;align-items:center;justify-content:center;flex-direction:column}
.stats strong{font-size:56px;font-weight:200;line-height:1}.stats span{font-size:24px;font-weight:600}
.services{padding:78px 0 96px;color:#fff;background:#1a1a1a}
.services-bg{position:absolute;inset:0;background:linear-gradient(rgba(26,26,26,.8),rgba(26,26,26,.8)),url('/assets/services.jpg') center/cover no-repeat;opacity:1}
.service-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:20px}
.service-card{min-height:331px;border:1px solid rgba(255,255,255,.55);border-radius:10px;background:rgba(26,26,26,.35);padding:24px 18px;display:flex;flex-direction:column;align-items:center;justify-content:center;transition:background .25s ease,transform .25s ease}
.service-card h3{font-size:24px;line-height:1.1;margin:0;font-weight:600}
.service-card p{font-size:18px;margin:12px 0 0;opacity:0;max-height:0;overflow:hidden;transition:opacity .25s ease,max-height .25s ease}
.service-card:hover,.service-card:focus-within{background:rgba(26,26,26,.72);transform:translateY(-2px)}
.service-card:hover p,.service-card:focus-within p{opacity:1;max-height:230px}
.process-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.process-card{border:1px solid rgba(26,26,26,.8);border-radius:10px;padding:24px 22px;min-height:216px;display:flex;flex-direction:column;justify-content:center}
.process-card strong{font-size:56px;font-weight:200;line-height:1}.process-card h3,.principles-panel h3,.testimonial strong{font-size:24px;font-weight:600;margin:8px 0}.process-card p,.principles-panel p,.testimonial p{font-size:18px;margin:0}
.principles-panel{display:grid;grid-template-columns:repeat(3,1fr);background:var(--ink);padding:24px;border-radius:12px;color:#fff;gap:0}
.principles-panel article{min-height:129px;border:1px solid rgba(255,255,255,.55);border-radius:12px;padding:22px 20px;display:flex;flex-direction:column;justify-content:center;background:linear-gradient(90deg,rgba(201,201,201,.18),rgba(255,255,255,.18),rgba(186,186,186,.18),rgba(255,255,255,.18),rgba(201,201,201,.18))}
.testimonial{border:1px solid rgba(26,26,26,.85);border-radius:10px;padding:22px;background:#fff;text-align:center;min-height:240px;display:flex;flex-direction:column;justify-content:center}
.quote{font-size:56px;font-weight:200;line-height:.8;margin-bottom:10px}
.contact-section{padding-bottom:54px}
.contact-form{background:rgba(51,51,51,.7);border:2px solid #fff;border-radius:14px;padding:22px 24px;display:grid;grid-template-columns:repeat(3,1fr) 220px;gap:26px;align-items:start}
.contact-form label{text-align:right;display:flex;flex-direction:column;gap:8px;font-weight:600}
.contact-form input{width:100%;color:#fff;background:transparent;border:0;border-bottom:1px solid #fff;outline:none;padding:2px 0 6px}
.contact-form input:focus{border-bottom-width:2px}
.submit-button{height:35px;align-self:end;font-weight:600}
.form-status{grid-column:1/-1;margin:0;min-height:1.35em}
.hp{position:absolute!important;left:-9999px!important;opacity:0!important}
.contact-details{margin:24px 0 0;font-weight:600}.contact-details span{padding:0 8px}
.site-footer{background:var(--ink);color:#fff;text-align:center;padding:39px 20px;font-size:24px;font-weight:600}
.site-footer p{margin:0}
@media (max-width:900px){
  .content-width{width:calc(100% - 96px)}
  .desktop-nav,.header-contact{display:none}.menu-toggle{display:block}
  .site-header{padding-inline:48px}
  .hero{min-height:auto}.hero-inner{height:auto;min-height:796px;padding:16px 48px 28px;display:flex;flex-direction:column;align-items:center;gap:16px}
  .hero-copy{position:relative;left:auto;top:auto;width:100%;height:300px;margin-top:0}
  .hero-more{position:relative;left:auto;top:auto;flex:0 0 auto}
  .hero-portrait{position:relative;right:auto;top:auto;width:300px;height:372px}
  .service-grid{grid-template-columns:1fr}.service-card{min-height:240px;background:rgba(26,26,26,.72);padding:24px 22px}.service-card p{opacity:1;max-height:none}
  .process-grid{grid-template-columns:1fr}.process-card{min-height:188px}
  .principles-panel{grid-template-columns:1fr;background:transparent;padding:0;gap:18px}.principles-panel article{background:var(--ink)}
  .contact-form{grid-template-columns:1fr;gap:18px}.submit-button{height:49px;width:min(314px,100%)}
}
@media (max-width:520px){
  .content-width{width:calc(100% - 40px)}
  .site-header{padding-inline:20px}
  .section.dark{padding:57px 0}.section.light{padding:57px 0 63px}.services{padding:57px 0 63px}
  .section-title{font-size:56px}
  .divider{width:300px;max-width:86%;height:1.25px;margin:20px auto}
  .hero-inner{padding:16px 20px 28px;min-height:926px}
  .hero-copy{height:430px;width:350px;max-width:100%}
  .hero-display{font-size:56px}.hero-stage h2{font-size:24px}.hero-stage p{font-size:18px}
  .stats{width:350px;max-width:100%;grid-template-columns:repeat(2,1fr);border-width:0;background:none;backdrop-filter:none;gap:12px;overflow:visible}
  .stats article{border:1.25px solid rgba(255,255,255,.55);border-radius:12px;background:linear-gradient(90deg,rgba(201,201,201,.3),rgba(255,255,255,.3),rgba(186,186,186,.3),rgba(255,255,255,.3),rgba(201,201,201,.3));padding:18px 12px}
  .stats article:last-child{grid-column:1/-1;width:169px;justify-self:center}.stats strong{font-size:56px}.stats span{font-size:24px}
  .service-card{width:350px;max-width:100%;justify-self:center}
  .process-card{min-height:212px;border-radius:14px;padding:20px 18px}
  .contact-form{padding:22px 18px}.contact-details{font-size:14px;display:flex;flex-wrap:wrap;justify-content:center;gap:4px}.contact-details span{padding:0}
  .site-footer{font-size:24px;padding:36px 20px}
}
@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
/* Hebrew reading order, with the portrait explicitly on the right. */
body{direction:rtl}
.mobile-menu nav{align-items:flex-start;text-align:right;margin-inline:20px}
.stats strong,.contact-details a{direction:ltr;unicode-bidi:isolate;display:inline-block}
.contact-form input[type="tel"],.contact-form input[type="email"]{direction:ltr;text-align:right}
.hero-stage:not(.is-active){visibility:hidden}
.hero-portrait{width:33%}
.service-card:hover p,.service-card:focus-within p{max-height:40rem}
.process-card{position:relative}
.js .process-grid.is-pending .process-card{opacity:0;transform:translateY(18px)}
.js .process-grid .process-card{transition:opacity .7s ease,transform .7s ease}
.js .process-grid.is-pending .process-card.is-revealed{opacity:1;transform:none}
.process-card:not(:last-child)::after{content:"";position:absolute;inset-inline-end:-19px;top:50%;width:18px;height:2px;background:var(--ink)}
.testimonial-viewport{overflow:hidden;touch-action:pan-y}
.testimonial-track{display:flex;gap:20px;direction:rtl;transition:transform .4s cubic-bezier(.2,.8,.2,1)}
.testimonial-track .testimonial{flex:0 0 calc((100% - 40px)/3);min-width:0;min-height:280px}
.carousel-controls{display:flex;justify-content:space-between;align-items:center;margin-top:16px;direction:rtl}
.carousel-controls button{width:56px;height:56px;border:1px solid rgba(26,26,26,.4);border-radius:50%;background:#fff;font-size:28px}
.flow-screen{background:var(--ink);color:white;position:fixed;inset:0;width:100%;height:100dvh;max-width:none;max-height:none;border:0;margin:0;padding:30px;z-index:3000;text-align:center}
#loading-screen{display:none}
.js.is-loading #loading-screen:not([hidden]){display:flex;flex-direction:column;align-items:center;justify-content:center}
.is-loading{overflow:hidden}
.is-loading #site-content{visibility:hidden}
.flow-mark{width:160px;height:110px;object-fit:contain}
/* Original Figma loader: 1920x1080 stage and timed variant fades. */
#loading-screen{padding:0;background:#1a1a1a}
.loading-stage{position:relative;width:min(100vw,177.7778dvh);aspect-ratio:16/9;flex:none}
.loading-stage img{position:absolute;height:auto;object-fit:contain;opacity:0;animation:loading-reveal 1s ease-out forwards}
.loading-mark{left:37.03125%;top:21.85185%;width:25.9375%;animation-delay:.1s!important}
.loading-wordmark{left:30.05208%;top:63.88889%;width:39.89583%;animation-delay:1.9s!important}
@keyframes loading-reveal{to{opacity:1}}
@media(prefers-reduced-motion:reduce){.loading-stage img{animation:none;opacity:1}}
/* Figma thank-you final state 34:612; exported native timeline below. */
#thank-you{padding:0;background:#1a1a1a;overflow:auto}
#thank-you[open]{display:flex;align-items:center;justify-content:center}
.thank-you-stage{position:relative;width:min(100%,177.77778dvh);aspect-ratio:16/9;flex:none;container-type:inline-size}
.thank-you-mark{position:absolute;left:42.604167%;top:21.851852%;width:14.791667%;height:auto;transform-origin:center}
#thank-you h2{position:absolute;inset-inline:0;top:46.666667%;width:fit-content;max-width:calc(100% - 32px);margin:0 auto;font-size:2.916667cqw;font-weight:200;line-height:1.303571;text-align:center}
.thank-you-message{position:absolute;inset-inline:0;top:56.944444%;text-align:center}
.thank-you-confirmation{margin:0;font-size:1.25cqw;font-weight:600;line-height:1.291667}
.thank-you-followup{margin:1.041667cqw 0 0;font-size:.9375cqw;font-weight:400;line-height:1.333333}
#thank-you .outline-button{position:absolute;bottom:max(24px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);padding:10px 28px;font-size:18px;min-height:44px;white-space:nowrap}
@media(max-width:900px){
 .thank-you-stage{width:100%;aspect-ratio:auto;height:500px;max-height:calc(100dvh - 100px)}
 .thank-you-mark{width:180px;left:calc(50% - 90px);top:7%}
 #thank-you h2{top:43%;font-size:56px;line-height:1.3}
 .thank-you-message{top:65%;padding-inline:20px}
 .thank-you-confirmation{font-size:24px}
 .thank-you-followup{font-size:18px;margin-top:20px}
}
@media(max-height:540px){
 #thank-you[open]{align-items:flex-start}
 .thank-you-stage{min-height:420px;max-height:none}
 #thank-you .outline-button{position:fixed;bottom:12px}
}
@media(prefers-reduced-motion:reduce){
 #thank-you[open] .thank-you-mark,#thank-you[open] h2,#thank-you[open] .thank-you-message{animation:none;opacity:1;transform:none}
}
@media (min-width:521px) and (max-width:900px){
 .hero-inner{min-height:566px;display:block;padding:0 48px}
 .hero-copy{position:absolute;left:6.25%;top:80px;width:48%;height:330px}
 .hero-display{font-size:42px}
 .hero-more{position:absolute;left:6.25%;top:430px;width:308px}
 .hero-portrait{position:absolute;right:2%;top:30px;width:40%;height:480px}
 .mobile-menu nav{margin-inline:48px}
}
@media(max-width:900px){
 .service-card{min-width:0}
 .process-card:not(:last-child)::after{inset-inline-end:50%;top:100%;width:2px;height:18px}
 .testimonial-track .testimonial{flex-basis:calc((100% - 20px)/2)}
}
@media(max-width:520px){
 .hero-portrait{width:300px;max-width:100%;align-self:flex-start}
 .hero-copy{align-self:flex-end;text-align:right}
 .hero-more{align-self:flex-end}
 .testimonial-track .testimonial{flex-basis:100%;min-height:264px}
}
@media(prefers-reduced-motion:reduce){
 .js .process-grid.is-pending .process-card{opacity:1;transform:none}
}

/* Mobile portrait leads; retain the existing staged text animation. */
@media (max-width:520px){
  .hero-inner{min-height:0}
  .hero-portrait{order:-1;flex:0 0 auto;align-self:center}
  .hero-copy{order:0;display:grid;height:auto;min-height:430px;width:100%;max-width:350px;align-self:center}
  .hero-stage{position:relative;inset:auto;grid-area:1 / 1;min-width:0}
  .hero-more{order:1;align-self:center;max-width:100%}
}
/* Tablet statistics occupy the full content width in three equal cards. */
@media (min-width:521px) and (max-width:900px){
  #about .stats{width:100%;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:28px auto 0;border:0;border-radius:0;background:none;backdrop-filter:none;overflow:visible;align-items:stretch}
  #about .stats article{min-width:0;min-height:160px;padding:20px 12px;gap:8px;border:1.25px solid rgba(255,255,255,.55);border-radius:12px;background:linear-gradient(90deg,rgba(201,201,201,.3),rgba(255,255,255,.3),rgba(186,186,186,.3),rgba(255,255,255,.3),rgba(201,201,201,.3));text-align:center}
  #about .stats strong{font-size:clamp(40px,7.3vw,56px);line-height:1.3}
  #about .stats span{font-size:clamp(18px,3.125vw,24px);line-height:1.3}
}

/* Keep touch layouts full-width with consistent process-section spacing. */
@media (max-width:900px){
  #process.section{padding-block:56px}
  #process .process-grid{width:100%;min-width:0;grid-template-columns:minmax(0,1fr);gap:24px}
  #process .process-card{width:100%;min-width:0;height:auto;box-sizing:border-box}
  #process .process-card:not(:last-child)::after{height:24px}
  #process .process-card h3,#process .process-card p{overflow-wrap:break-word}
  #process .divider{margin:20px auto}
}

/* Keep the full hero and service explanations readable without JavaScript. */
html:not(.js) .hero-stage{display:none}
html:not(.js) .hero-stage:last-child{display:block;opacity:1;visibility:visible;transform:none;position:relative}
html:not(.js) .service-card p{opacity:1;max-height:none}
@media (max-height:650px){.mobile-menu nav{margin-top:24px;padding-bottom:24px}}

/* Figma number reels: one line visible, final values without JavaScript. */
.stats .stat-number { height: 1.3em; line-height: 1.3; min-width: 3.5ch; overflow: hidden; }
.stats .stat-reel { display: block; font: inherit; transform: translateY(var(--stat-end)); }
.stats .stat-step { display: block; height: 1.3em; font: inherit; white-space: nowrap; }

/* Portrait blend matches the gradient paints in the Figma portrait master. */
.hero-portrait::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(to bottom,transparent 68%,rgb(26 26 26 / .2) 84%,var(--ink) 100%),linear-gradient(to right,var(--ink),transparent 12%,transparent 88%,var(--ink))}
/* A stable title prevents the whole copy block disappearing between stages. */
.hero-stage{transition:none;transform:none}
.hero-enter .hero-portrait{animation:hero-portrait-opacity 2.9s linear both,hero-portrait-position 2.9s linear both}
.hero-enter .hero-stage.is-active .hero-display{animation:hero-title-in 2.9s linear both}
.hero-enter .hero-stage.is-active h2{animation:hero-subtitle-in 2.9s linear both}
.hero-enter .hero-stage.is-active p{animation:hero-body-in 2.9s linear both}
@keyframes hero-portrait-opacity{0%{animation-timing-function:ease-out;opacity:0}24.138%,100%{opacity:1}}
@keyframes hero-portrait-position{0%{animation-timing-function:ease-out;translate:22.1519% 0}24.138%,100%{translate:0 0}}
@keyframes hero-title-in{0%,3.448%{opacity:0}3.448%{animation-timing-function:ease-out}25.862%,100%{opacity:1}}
@keyframes hero-subtitle-in{0%,17.241%{opacity:0}17.241%{animation-timing-function:ease-out}39.655%,100%{opacity:1}}
/* The exporter sampled the master at 2s; use its stored final keyframe (1)
   so body and confirmation text reach full opacity at the end of the track. */
@keyframes hero-body-in{0%,56.897%{opacity:0}56.897%{animation-timing-function:ease-out}79.31%,100%{opacity:1}}
#thank-you[open] .thank-you-mark{animation:thanks-mark-opacity 3s linear both,thanks-mark-scale 3s linear both,thanks-mark-position 3s linear both}
#thank-you[open] h2{animation:thanks-mark-opacity 3s linear both}
#thank-you[open] .thank-you-message{animation:thanks-message-in 3s linear both}
@keyframes thanks-mark-opacity{0%,3.333%{opacity:0}3.333%{animation-timing-function:ease-out}36.667%,100%{opacity:1}}
@keyframes thanks-mark-scale{0%,3.333%{scale:1.754 1.749}3.333%{animation-timing-function:ease-out}36.667%,100%{scale:1 1}}
@keyframes thanks-mark-position{0%,3.333%{translate:0 37.4346%}3.333%{animation-timing-function:ease-out}36.667%,100%{translate:0 0}}
@keyframes thanks-message-in{0%,63.333%{opacity:0}63.333%{animation-timing-function:ease-out}96.667%,100%{opacity:1}}
/* Play entrance once after loading/success, never a repeating distraction. */
.motion-stopped .hero-portrait,.motion-stopped .hero-stage.is-active>*,.motion-stopped #thank-you[open] .thank-you-mark,.motion-stopped #thank-you[open] h2,.motion-stopped #thank-you[open] .thank-you-message{animation:none;opacity:1;translate:none;scale:none}
@media(prefers-reduced-motion:reduce){
 .hero-enter .hero-portrait,.hero-enter .hero-stage.is-active>*,#thank-you[open] .thank-you-mark,#thank-you[open] h2,#thank-you[open] .thank-you-message{animation:none;opacity:1;translate:none;scale:none}
}
